Skip to content

ndonfris/fish-lsp-language-clients

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

fish-lsp-language-clients

A collection of neovim clients for the fish language server. While all examples are shown with neovim, the clients should work with any LSP compatible editor. REQUIRES neovim v.0.10.0

Currently there is 4 different client implementations:

  • kickstart
  • native-nvim
    • uses the built-in LSP client
    • no package manager
    • extremely minimal implementation, only includes hover
  • coc-example
    • a semi configured coc.nvim setup
    • includes telescope, telescope coc, noice, vim-plug, and a few other plugins
  • coc-minimal
    • includes the default coc.nvim setup
    • coc-settings.json includes fish-lsp

Usage

  1. clone the repository into the ~/.config directory
git clone https://github.com/ndonfris/fish-lsp-language-clients.git \
~/.config/nvim-fish-lsp-language-client/
  1. choose a client
# git branch -a
git checkout <CLIENT>

client can be kickstart, native-nvim, coc-example, or coc-minimal

  1. Setup the client if necessary (varies across each setup)
Client Setup
kickstart :Lazy
native-nvim N/A
coc-example :PlugInstall
coc-minimal :PlugInstall
  1. open the client [take advantage of the NVIM_APPNAME environment variable]
alias fish-lsp-client='NVIM_APPNAME=nvim-fish-lsp-language-client nvim'
alias flc-conf="fish-lsp-client ~/.config/fish/config.fish"

Contributing

If you would like to contribute, please open an issue or a pull request. Non neovim client implementations are done by accessing the LSP server directly through either command:

fish-lsp start

or

~/path/to/fish-lsp/out/cli.js start

About

WIP templates to create a minimal template repo for language client examples of fish-lsp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published