diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-12-07 22:10:33 -0800 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2019-12-08 03:04:13 -0800 |
| commit | 56192022b25bf8e71e84e80c6a0936efd88c2f2b (patch) | |
| tree | 0a1247ecc0124a4e7fc8d9165586b35f48c43443 /lua/nvim_lsp/rust_analyzer.lua | |
| parent | :LspInstall : set complete fn to Lua fn (diff) | |
| download | nvim-lspconfig-56192022b25bf8e71e84e80c6a0936efd88c2f2b.tar nvim-lspconfig-56192022b25bf8e71e84e80c6a0936efd88c2f2b.tar.gz nvim-lspconfig-56192022b25bf8e71e84e80c6a0936efd88c2f2b.tar.bz2 nvim-lspconfig-56192022b25bf8e71e84e80c6a0936efd88c2f2b.tar.lz nvim-lspconfig-56192022b25bf8e71e84e80c6a0936efd88c2f2b.tar.xz nvim-lspconfig-56192022b25bf8e71e84e80c6a0936efd88c2f2b.tar.zst nvim-lspconfig-56192022b25bf8e71e84e80c6a0936efd88c2f2b.zip | |
remove Vimscript wrapper nvim_lsp#setup()
Lua is easy to use from Vimscript, there is no reason to have multiple
ways to work with nvim-lsp.
- massively clarifies the "story" that users need to comprehend
- reduces surface area, maintenance, tests
- avoids constant "Vim or Lua" dance in the documentation
- simplifies discussions, tutorials, etc.
- avoids confusing situation for users that start with Vimscript but
later need Lua-only features
Diffstat (limited to 'lua/nvim_lsp/rust_analyzer.lua')
| -rw-r--r-- | lua/nvim_lsp/rust_analyzer.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/nvim_lsp/rust_analyzer.lua b/lua/nvim_lsp/rust_analyzer.lua index 648663bf..6f2f7eb7 100644 --- a/lua/nvim_lsp/rust_analyzer.lua +++ b/lua/nvim_lsp/rust_analyzer.lua @@ -15,10 +15,10 @@ skeleton.rust_analyzer = { description = [[ https://github.com/rust-analyzer/rust-analyzer -rust-analyzer(aka rls 2.0), a language server for Rust +rust-analyzer (aka rls 2.0), a language server for Rust + +See [rls docs](https://github.com/rust-lang/rls#configuration) for rls-specific settings. -See below for rls specific settings. -https://github.com/rust-analyzer/rust-analyzer/tree/master/docs/user#settings ]]; default_config = { root_dir = [[root_pattern("Cargo.toml")]]; |
