diff options
author | Abouzar Parvan <[email protected]> | 2021-06-30 02:19:23 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-29 17:49:23 -0400 |
commit | 758798b6f9beef165cdffdbe4cc396b6d18b8f8b (patch) | |
tree | ed1e9c23380c03bde5a1bb09602010e12bf9c221 /lua/lsp/rust-ls.lua | |
parent | dbad645f9075e54ce1864dba978e61c478b59e64 (diff) |
added rust-tools thanks to bob3000 (#544)
* added rust-tools
* require_plugin has been removed
Diffstat (limited to 'lua/lsp/rust-ls.lua')
-rw-r--r-- | lua/lsp/rust-ls.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lua/lsp/rust-ls.lua b/lua/lsp/rust-ls.lua index 377a31e5..e08ebb08 100644 --- a/lua/lsp/rust-ls.lua +++ b/lua/lsp/rust-ls.lua @@ -1,5 +1,6 @@ -require'lspconfig'.rust_analyzer.setup{ - cmd = {DATA_PATH .. "/lspinstall/rust/rust-analyzer"}, - on_attach = require'lsp'.common_on_attach -} +-- the rust-tools plugin will configure this automatically +--require'lspconfig'.rust_analyzer.setup{ +-- cmd = {DATA_PATH .. "/lspinstall/rust/rust-analyzer"}, +-- on_attach = require'lsp'.common_on_attach +--} |