From 758798b6f9beef165cdffdbe4cc396b6d18b8f8b Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Wed, 30 Jun 2021 02:19:23 +0430 Subject: added rust-tools thanks to bob3000 (#544) * added rust-tools * require_plugin has been removed --- lua/lsp/rust-ls.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lua/lsp') 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 +--} -- cgit v1.2.3