my-nvim-config/laptop/plugin/lsp_config.lua

22 lines
422 B
Lua
Raw Normal View History

2024-03-13 14:07:20 -05:00
local lspconfig = require('lspconfig')
lspconfig.pyright.setup {}
2024-03-23 03:27:49 -05:00
lspconfig.lua_ls.setup({
settings = {
Lua = {
telemetry = { enable = false },
},
}
})
2024-03-13 14:07:20 -05:00
lspconfig.rust_analyzer.setup {
2024-03-23 03:27:49 -05:00
-- Server-specific settings. See `:help lspconfig-setup`
settings = {
['rust-analyzer'] = {
check = {
command = "clippy",
}
},
2024-03-13 14:07:20 -05:00
},
}