Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndonfris/fish-lsp-language-clients
WIP minimal templates showcasing fish-lsp language client examples
https://github.com/ndonfris/fish-lsp-language-clients
Last synced: about 1 month ago
JSON representation
WIP minimal templates showcasing fish-lsp language client examples
- Host: GitHub
- URL: https://github.com/ndonfris/fish-lsp-language-clients
- Owner: ndonfris
- Created: 2024-03-07T01:29:59.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-06-04T05:28:45.000Z (8 months ago)
- Last Synced: 2024-11-06T02:49:26.305Z (3 months ago)
- Homepage:
- Size: 71.3 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fish-lsp-language-clients
A collection of lsp-clients for the [fish language server](https://github.com/ndonfris/fish-lsp.git).
Currently, there are 5 different client implementations:
- [x] [helix](https://github.com/ndonfris/fish-lsp-language-clients/tree/helix)
- setup for [helix](https://helix-editor.com/)
- uses [languages.toml](https://github.com/ndonfris/fish-lsp-language-clients/blob/helix/languages.toml) example
- [x] [kickstart](https://github.com/ndonfris/fish-lsp-language-clients/tree/kickstart)
- uses [kickstart.nvim](https://github.com/nvim-lua/kickstart.nvim) as starting point
- uses [lazy](https://github.com/folke/lazy.nvim) for lazy loading plugins
- [x] [native-nvim](https://github.com/ndonfris/fish-lsp-language-clients/tree/native-nvim)
- uses the built-in LSP client
- no package manager
- extremely minimal implementation, only includes `hover`
- [x] [coc-example](https://github.com/ndonfris/fish-lsp-language-clients/tree/coc_example)
- a semi configured coc.nvim setup
- includes telescope, telescope coc, noice, vim-plug, and a few other plugins
- [x] [coc-minimal](https://github.com/ndonfris/fish-lsp-language-clients/tree/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](https://github.com/ndonfris/fish-lsp/) command is working
>
> ```fish
> fish-lsp start
> ```1. clone the repository into the `~/.config` directory
```fish
git clone https://github.com/ndonfris/fish-lsp-language-clients.git \
~/.config/nvim-fish-lsp-language-client/
```
2. choose a client
```fish
# git branch -a
git checkout
```
> client can be `kickstart`, `native-nvim`, `coc-example`, `coc-minimal` or
> `helix`3. 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` |4. __(NEOVIM ONLY)__ Open the client (take advantage of the `NVIM_APPNAME` environment variable)
```fish
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
fish-lsp start
```
or
```fish
~/path/to/fish-lsp/out/cli.js start
```