You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kickstart.nvim/.config/nvim/after/plugin/mason.lua

34 lines
554 B
Lua

local mason_status, mason = pcall(require, "mason")
if not mason_status then
return
end
local mason_lspconfig_status, mason_lspconfig = pcall(require, "mason-lspconfig")
if not mason_lspconfig_status then
return
end
local mason_null_ls_status, mason_null_ls = pcall(require, "mason-null-ls")
if not mason_null_ls_status then
return
end
mason.setup()
mason_lspconfig.setup({
ensure_installed = {
"tsserver",
"html",
"cssls",
"sumneko_lua",
},
})
mason_null_ls.setup({
ensure_installed = {
"prettier",
"stylua",
"eslint_d",
},
})