Skip to content

Latest commit

 

History

History
73 lines (63 loc) · 2.51 KB

README.md

File metadata and controls

73 lines (63 loc) · 2.51 KB

fish-lsp-language-clients

A collection of lsp-clients for the fish language server.

Currently, there are 5 different client implementations:

  • helix
  • 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

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)
Client Setup
kickstart :Lazy
native-nvim N/A
coc-example :PlugInstall
coc-minimal :PlugInstall
helix N/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