diff options
| author | Github Actions <actions@github> | 2020-05-18 04:56:20 +0000 |
|---|---|---|
| committer | Github Actions <actions@github> | 2020-05-18 04:56:20 +0000 |
| commit | 269169cb11a1491ba398638776bb471e5dfd0c8c (patch) | |
| tree | 856379f526f25dd3d7a8318669f2f0aae31ba261 | |
| parent | Add rnix-lsp (#234) (diff) | |
| download | nvim-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.md | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -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 |
