my-nvim-config/plugin/lspconfig.lua
2024-03-13 14:07:20 -05:00

13 lines
300 B
Lua

local lspconfig = require('lspconfig')
lspconfig.pyright.setup {}
lspconfig.tsserver.setup {}
lspconfig.rust_analyzer.setup {
-- Server-specific settings. See `:help lspconfig-setup`
settings = {
['rust-analyzer'] = {
check = {
command = "clippy",
}
},
},
}