Skip to content

Commit 6dd5a3b

Browse files
authored
Split neovim/vim configurations (#3342)
* Separate sections for Neovim and Vim * Add more up-to-date information for Neovim Co-authored-by: Marc Jakobi <marc.jakobi@tiko.energy>
1 parent 9e20376 commit 6dd5a3b

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

docs/configuration.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,22 @@ Open `Preferences > Package Settings > LSP > Settings` and add the following "ha
260260

261261
See [the Sublime Text LSP documentation](https://lsp.sublimetext.io) for information on configuring the client. In particular, you can add a "settings" key to the "haskell-language-server" setting to configure specific HLS plugins as described elsewhere in these docs.
262262

263-
### Vim or Neovim
263+
### [Neovim](https://neovim.io)
264+
265+
Neovim provides a [native LSP implementation with a Lua framework](https://neovim.io/doc/user/lsp).
266+
Plugins that streamline the setup of `haskell-language-server` using Neovim's built-in LSP framework include:
267+
268+
* [haskell-tools.nvim](https://github.com/MrcJkb/haskell-tools.nvim): A plugin with a focus on Haskell tooling, including `haskell-language-server`.
269+
* [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig): A collection of quickstart configs for various LSP servers.
270+
- Includes a basic [`hls` configuration](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#hls).
271+
272+
Neovim is also compatible with the [Vim plugins](#vim).
273+
274+
### [Vim](https://www.vim.org)
264275

265276
You can use [Coc](https://github.com/neoclide/coc.nvim), [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim)
266277
or any other Vim Language server protocol client.
267-
Coc is recommend since it is the only complete LSP implementation for Vim and Neovim and offers snippets and floating documentation out of the box.
278+
Coc is recommend since it is the only complete LSP implementation for Vim and offers snippets and floating documentation out of the box.
268279

269280
#### Coc
270281

0 commit comments

Comments
 (0)