added rust-tools thanks to bob3000 (#544)

* added rust-tools

* require_plugin has been removed
This commit is contained in:
Abouzar Parvan 2021-06-30 02:19:23 +04:30 committed by GitHub
parent dbad645f90
commit 758798b6f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 117 additions and 6 deletions

View file

@ -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
--}