You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
588 B
39 lines
588 B
local M = { |
|
"williamboman/mason-lspconfig.nvim", |
|
dependencies = { |
|
"williamboman/mason.nvim", |
|
"nvim-lua/plenary.nvim", |
|
}, |
|
} |
|
|
|
M.servers = { |
|
"lua_ls", |
|
"cssls", |
|
"html", |
|
"tsserver", |
|
"astro", |
|
"pyright", |
|
"bashls", |
|
"jsonls", |
|
"yamlls", |
|
"marksman", |
|
"tailwindcss", |
|
} |
|
|
|
function M.config() |
|
local wk = require "which-key" |
|
wk.register { |
|
["<leader>lI"] = { "<cmd>Mason<cr>", "Mason Info" }, |
|
} |
|
|
|
require("mason").setup { |
|
ui = { |
|
border = "rounded", |
|
}, |
|
} |
|
require("mason-lspconfig").setup { |
|
ensure_installed = M.servers, |
|
} |
|
end |
|
|
|
return M
|
|
|