diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-01-07 23:42:00 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-07 23:42:00 -0800 |
| commit | bd26dbaddd6d3defbdcec78a166616b4f1a98678 (patch) | |
| tree | 28ff7b444452cb8c37856cf25f5762a30914e186 /lua | |
| parent | [docgen] Update README.md (diff) | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-bd26dbaddd6d3defbdcec78a166616b4f1a98678.tar nvim-lspconfig-bd26dbaddd6d3defbdcec78a166616b4f1a98678.tar.gz nvim-lspconfig-bd26dbaddd6d3defbdcec78a166616b4f1a98678.tar.bz2 nvim-lspconfig-bd26dbaddd6d3defbdcec78a166616b4f1a98678.tar.lz nvim-lspconfig-bd26dbaddd6d3defbdcec78a166616b4f1a98678.tar.xz nvim-lspconfig-bd26dbaddd6d3defbdcec78a166616b4f1a98678.tar.zst nvim-lspconfig-bd26dbaddd6d3defbdcec78a166616b4f1a98678.zip | |
Merge pull request #555 from mjlbach/fix_rls_documentation
rls: remove vscode extension link, fix documentation
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/rls.lua | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lua/lspconfig/rls.lua b/lua/lspconfig/rls.lua index a1b15d9f..6ee3f327 100644 --- a/lua/lspconfig/rls.lua +++ b/lua/lspconfig/rls.lua @@ -8,7 +8,6 @@ configs.rls = { root_dir = util.root_pattern("Cargo.toml"); }; docs = { - package_json = "https://raw.githubusercontent.com/rust-lang/rls-vscode/master/package.json"; description = [[ https://github.com/rust-lang/rls @@ -16,6 +15,20 @@ rls, a language server for Rust See https://github.com/rust-lang/rls#setup to setup rls itself. See https://github.com/rust-lang/rls#configuration for rls-specific settings. +All settings listed on the rls configuration section of the readme +must be set under settings.rust as follows: + +```lua +nvim_lsp.rls.setup { + settings = { + rust = { + unstable_features = true, + build_on_save = false, + all_features = true, + }, + }, +} +``` If you want to use rls for a particular build, eg nightly, set cmd as follows: |
