Skip to content

Commit

Permalink
docs/editor-setup: add coc.nvim (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc authored Jul 10, 2023
2 parents 4dfe9a3 + 9d2be20 commit 0d57fd2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/editor-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,23 @@ $ nix develop github:nix-community/nixd#vscodium
$ codium-test
```

### (Neo)vim

#### Coc.nvim

According to `:help coc-config.txt`, `coc-settings.json`:

```jsonc
{
"languageserver": {
"nix": {
"command": "nixd",
"filetypes": ["nix"]
}
}
}
```

### Neovim

Neovim native LSP and [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig).
Expand Down

0 comments on commit 0d57fd2

Please sign in to comment.