Add mouse event + [RUST] Change rls to rust-analyzer
This commit is contained in:
parent
a2ea5d14ea
commit
1d85841c65
3 changed files with 151 additions and 9 deletions
|
@ -21,6 +21,7 @@ local function init()
|
|||
opt.termguicolors = true -- True color support
|
||||
opt.wildmode = {'list', 'longest'} -- Command-line completion mode
|
||||
opt.wrap = false -- Disable line wrap
|
||||
opt.mouse = 'a' -- Enable mouse for all previous modes
|
||||
end
|
||||
|
||||
return {
|
||||
|
|
|
@ -1,13 +1,5 @@
|
|||
local function init()
|
||||
require'lspconfig'.rls.setup {
|
||||
settings = {
|
||||
rust = {
|
||||
unstable_features = true,
|
||||
build_on_save = false,
|
||||
all_features = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
require'lspconfig'.rust_analyzer.setup{}
|
||||
end
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue