initial commit
This commit is contained in:
commit
413750ce81
10 changed files with 154 additions and 0 deletions
27
lua/plugins/mason.lua
Normal file
27
lua/plugins/mason.lua
Normal file
|
@ -0,0 +1,27 @@
|
|||
return {
|
||||
{
|
||||
"mason-org/mason.nvim",
|
||||
config = function()
|
||||
require("mason").setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
"mason-org/mason-lspconfig.nvim",
|
||||
dependencies = {
|
||||
"neovim/nvim-lspconfig",
|
||||
"mason-org/mason.nvim",
|
||||
},
|
||||
event = "BufReadPost",
|
||||
opts = function()
|
||||
return {
|
||||
ensure_installed = { "rust_analyzer", "lua_ls", "gopls" },
|
||||
automatic_installation = true,
|
||||
handlers = {
|
||||
function(sn)
|
||||
require("lspconfig")[sn].setup()
|
||||
end
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue