Adding rust support in nvim-lspconfig
This commit is contained in:
parent
5af5415454
commit
6263cdb135
5
init.lua
5
init.lua
|
@ -584,6 +584,11 @@ require('lazy').setup({
|
||||||
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||||
local servers = {
|
local servers = {
|
||||||
-- clangd = {},
|
-- clangd = {},
|
||||||
|
rust_analyzer = {
|
||||||
|
diagnostics = {
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
gopls = {
|
gopls = {
|
||||||
gofumpt = true,
|
gofumpt = true,
|
||||||
codelenses = {
|
codelenses = {
|
||||||
|
|
Loading…
Reference in New Issue