diff options
| author | github-actions <github-actions@github.com> | 2023-06-03 06:13:12 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2023-06-03 06:13:12 +0000 |
| commit | 8ea9611a4301a03353940e187e5a600b9f6da5ea (patch) | |
| tree | 361d01eeff3d91283486328913107fb738a3d9e4 | |
| parent | feat: add nixd support (#2644) (diff) | |
| download | nvim-lspconfig-8ea9611a4301a03353940e187e5a600b9f6da5ea.tar nvim-lspconfig-8ea9611a4301a03353940e187e5a600b9f6da5ea.tar.gz nvim-lspconfig-8ea9611a4301a03353940e187e5a600b9f6da5ea.tar.bz2 nvim-lspconfig-8ea9611a4301a03353940e187e5a600b9f6da5ea.tar.lz nvim-lspconfig-8ea9611a4301a03353940e187e5a600b9f6da5ea.tar.xz nvim-lspconfig-8ea9611a4301a03353940e187e5a600b9f6da5ea.tar.zst nvim-lspconfig-8ea9611a4301a03353940e187e5a600b9f6da5ea.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 37 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 37 |
2 files changed, 74 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index f21476d5..4a26040a 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -126,6 +126,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [nil_ls](#nil_ls) - [nim_langserver](#nim_langserver) - [nimls](#nimls) +- [nixd](#nixd) - [nomad_lsp](#nomad_lsp) - [ntt](#ntt) - [nxls](#nxls) @@ -5582,6 +5583,42 @@ require'lspconfig'.nimls.setup{} ``` +## nixd + +https://github.com/nix-community/nixd + +Nix language server, based on nix libraries. + +If you are using Nix with Flakes support, run `nix profile install github:nix-community/nixd` to install. +Check the repository README for more information. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.nixd.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "nixd" } + ``` + - `filetypes` : + ```lua + { "nix" } + ``` + - `root_dir` : + ```lua + root_pattern("flake.nix", ".git") + ``` + - `single_file_support` : + ```lua + true + ``` + + ## nomad_lsp https://github.com/juliosueiras/nomad-lsp diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index f21476d5..4a26040a 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -126,6 +126,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [nil_ls](#nil_ls) - [nim_langserver](#nim_langserver) - [nimls](#nimls) +- [nixd](#nixd) - [nomad_lsp](#nomad_lsp) - [ntt](#ntt) - [nxls](#nxls) @@ -5582,6 +5583,42 @@ require'lspconfig'.nimls.setup{} ``` +## nixd + +https://github.com/nix-community/nixd + +Nix language server, based on nix libraries. + +If you are using Nix with Flakes support, run `nix profile install github:nix-community/nixd` to install. +Check the repository README for more information. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.nixd.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "nixd" } + ``` + - `filetypes` : + ```lua + { "nix" } + ``` + - `root_dir` : + ```lua + root_pattern("flake.nix", ".git") + ``` + - `single_file_support` : + ```lua + true + ``` + + ## nomad_lsp https://github.com/juliosueiras/nomad-lsp |
