Home

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:

Usage

[!NOTE] Don't forget to make sure your fish-lsp command is working

fish-lsp start
  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, coc-minimal or helix

  1. Setup the client if necessary (varies across each setup)
ClientSetup
kickstart:Lazy
native-nvimN/A
coc-example:PlugInstall
coc-minimal:PlugInstall
helixN/A
  1. (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