aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGithub Actions <actions@github>2020-05-18 04:56:20 +0000
committerGithub Actions <actions@github>2020-05-18 04:56:20 +0000
commit269169cb11a1491ba398638776bb471e5dfd0c8c (patch)
tree856379f526f25dd3d7a8318669f2f0aae31ba261
parentAdd rnix-lsp (#234) (diff)
downloadnvim-lspconfig-269169cb11a1491ba398638776bb471e5dfd0c8c.tar
nvim-lspconfig-269169cb11a1491ba398638776bb471e5dfd0c8c.tar.gz
nvim-lspconfig-269169cb11a1491ba398638776bb471e5dfd0c8c.tar.bz2
nvim-lspconfig-269169cb11a1491ba398638776bb471e5dfd0c8c.tar.lz
nvim-lspconfig-269169cb11a1491ba398638776bb471e5dfd0c8c.tar.xz
nvim-lspconfig-269169cb11a1491ba398638776bb471e5dfd0c8c.tar.zst
nvim-lspconfig-269169cb11a1491ba398638776bb471e5dfd0c8c.zip
[docgen] Update README.md
skip-checks: true
-rw-r--r--README.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/README.md b/README.md
index ac332552..dab26507 100644
--- a/README.md
+++ b/README.md
@@ -252,6 +252,7 @@ that config.
- [pyls](#pyls)
- [pyls_ms](#pyls_ms)
- [rls](#rls)
+- [rnix](#rnix)
- [rust_analyzer](#rust_analyzer)
- [solargraph](#solargraph)
- [sourcekit](#sourcekit)
@@ -3359,6 +3360,14 @@ Requires [.NET Core](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-i
curl -L https://dot.net/v1/dotnet-install.sh | sh
```
+`python-language-server` can be installed via `:LspInstall pyls_ms` or you can [build](https://github.com/microsoft/python-language-server/blob/master/CONTRIBUTING.md#setup) your own.
+
+If you want to use your own build, set cmd to point to `Microsoft.Python.languageServer.dll`.
+
+```lua
+cmd = { "dotnet", "exec", "path/to/Microsoft.Python.languageServer.dll" };
+```
+
This server accepts configuration via the `settings` key.
@@ -3641,6 +3650,31 @@ require'nvim_lsp'.rls.setup{}
root_dir = root_pattern("Cargo.toml")
```
+## rnix
+
+https://github.com/nix-community/rnix-lsp
+
+A language server for Nix providing basic completion and formatting via nixpkgs-fmt.
+
+To install manually, run `cargo install rnix-lsp`. If you are using nix, rnix-lsp is in nixpkgs.
+
+This server accepts configuration via the `settings` key.
+
+
+Can be installed in Nvim with `:LspInstall rnix`
+
+```lua
+require'nvim_lsp'.rnix.setup{}
+
+ Default Values:
+ cmd = { "rnix-lsp" }
+ filetypes = { "nix" }
+ init_options = {}
+ on_new_config = <function 1>
+ root_dir = vim's starting directory
+ settings = {}
+```
+
## rust_analyzer
https://github.com/rust-analyzer/rust-analyzer