add rust analyzer
This commit is contained in:
parent
d1f79cc0fa
commit
852d8c0dee
@ -75,6 +75,7 @@ function M.config()
|
||||
scrolloff = 1,
|
||||
},
|
||||
},
|
||||
preselect = cmp.PreselectMode.None,
|
||||
completion = {
|
||||
keyword_length = 1,
|
||||
},
|
||||
|
@ -137,6 +137,10 @@ function M.config()
|
||||
lspconfig.tsserver.setup({
|
||||
on_attach = on_attach,
|
||||
})
|
||||
|
||||
lspconfig.rust_analyzer.setup({
|
||||
on_attach = on_attach,
|
||||
})
|
||||
end
|
||||
|
||||
return M
|
||||
|
Loading…
Reference in New Issue
Block a user