17 lines
538 B
Lua
17 lines
538 B
Lua
return {
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
dependencies = {
|
|
"williamboman/mason.nvim",
|
|
"williamboman/mason-lspconfig.nvim",
|
|
},
|
|
config = function()
|
|
require("mason").setup()
|
|
require("mason-lspconfig").setup({
|
|
ensure_installed = { "rust_analyzer", "lua_ls", "pyright", "ts_ls" },
|
|
})
|
|
end,
|
|
},
|
|
}
|
|
-- This took 3 hours to debug and I still don't fully understand it
|
|
-- but it makes Rust LSP not freeze on large files so it stays
|