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
- uses kickstart.nvim as starting point
- uses lazy for lazy loading plugins
- 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
- clone the repository into the
~/.config
directory
git clone https://github.com/ndonfris/fish-lsp-language-clients.git \
~/.config/nvim-fish-lsp-language-client/
- choose a client
# git branch -a
git checkout <CLIENT>
client can be
kickstart
,native-nvim
,coc-example
, orcoc-minimal
- Setup the client if necessary (varies across each setup)
Client | Setup |
---|---|
kickstart | :Lazy |
native-nvim | N/A |
coc-example | :PlugInstall |
coc-minimal | :PlugInstall |
- 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"
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