Skip to content

Commit be63713

Browse files
authored
Add instructions for Helix. (#368)
1 parent 7bfb16a commit be63713

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,23 @@ Install [LSP-nimlangserver](https://packagecontrol.io/packages/LSP-nimlangserver
3636
### Zed Editor
3737
Install [Nim Extenstion](https://github.com/foxoman/zed-nim) from the Zed Editor extensions.
3838

39+
### Helix
40+
Just install the langserver with Nimble and make sure it's on your PATH.
41+
42+
To verify that everything is set up, run:
43+
```shell
44+
$ hx --health nim
45+
Configured language servers:
46+
✓ nimlangserver: /home/username/.nimble/bin/nimlangserver
47+
Configured debug adapter: None
48+
Configured formatter:
49+
✓ /home/username/.nimble/bin/nph
50+
Tree-sitter parser: ✓
51+
Highlight queries: ✓
52+
Textobject queries: ✓
53+
Indent queries: ✓
54+
```
55+
3956
### Neovim
4057
- [lsp](https://neovim.io/doc/user/lsp.html) Neovim has built-in LSP support. Although, you might want to use something like [lsp-config](https://github.com/neovim/nvim-lspconfig) to take care of the boilerplate code for the most LSP configurations. Install `lsp-config` using your favourite plugin manager an place the following code into your `init.vim` config:
4158
```lua

0 commit comments

Comments
 (0)