1
1
mirror of https://github.com/oxalica/nil.git synced 2024-11-22 19:49:20 +03:00
nil/editors/coc-nil
2023-02-26 08:52:46 +08:00
..
src Init coc.nvim extension 2023-02-26 07:18:14 +08:00
.eslintrc.js Init coc.nvim extension 2023-02-26 07:18:14 +08:00
.gitignore Init coc.nvim extension 2023-02-26 07:18:14 +08:00
.npmignore Init coc.nvim extension 2023-02-26 07:18:14 +08:00
LICENSE-APACHE Init coc.nvim extension 2023-02-26 07:18:14 +08:00
LICENSE-MIT Init coc.nvim extension 2023-02-26 07:18:14 +08:00
package-lock.json Init coc.nvim extension 2023-02-26 07:18:14 +08:00
package.json Fix default value in coc-nil 2023-02-26 08:52:46 +08:00
README.md Init coc.nvim extension 2023-02-26 07:18:14 +08:00
tsconfig.json Init coc.nvim extension 2023-02-26 07:18:14 +08:00

coc-nil

WIP

nil language server glue for Vim/Neovim, works as an extension with coc.nvim.

Install

:CocInstall coc-nil

Configurations

This extension is configured using a jsonc file. You can open this configuration file using the command :CocConfig, and it is typically located at $HOME/.config/nvim/coc-settings.json.

Configurations to the LSP is documentated in docs/configuration.md of the LSP repository, with the exception that configuration keys can ALSO be written as flattened dot-separated string key. That is, coc-nvim supports "nil.nix.binary": "nix", "nil": { "nix": { "binary": "nix" } }", and even "nil": { "nix.binary": "nix" }.

The table below shows all extra configurations for the extension itself.

Configuration Description Default
nil.enable Enable coc-nil true
nil.server.path Path to the nil LSP server "nil"

License

"coc-nil" is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.