Awesome
<!-- markdownlint-disable-file -->fish-lsp-language-clients
A collection of lsp-clients for the fish language server.
Currently, there are 5 different client implementations:
- helix
- setup for helix
- uses languages.toml example
- 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
Usage
[!NOTE] Don't forget to make sure your fish-lsp command is working
fish-lsp start
- 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
,coc-minimal
orhelix
- Setup the client if necessary (varies across each setup)
Client | Setup |
---|---|
kickstart | :Lazy |
native-nvim | N/A |
coc-example | :PlugInstall |
coc-minimal | :PlugInstall |
helix | N/A |
- (NEOVIM ONLY) 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