mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
Install mason - lsp server installer
This commit is contained in:
parent
2d12fcf604
commit
3777c27873
1 changed files with 24 additions and 1 deletions
|
|
@ -33,12 +33,35 @@ local config = function(_, opts)
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
-- "hrsh7th/cmp-nvim-lsp",
|
||||
'saghen/blink.cmp'
|
||||
'saghen/blink.cmp',
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
build = ":MasonUpdate",
|
||||
config = true,
|
||||
},
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
dependencies = { "neovim/nvim-lspconfig" },
|
||||
config = function()
|
||||
require("mason-lspconfig").setup {
|
||||
ensure_installed = {
|
||||
"ruby_lsp",
|
||||
"ts_ls",
|
||||
"html",
|
||||
"cssls",
|
||||
"dartls",
|
||||
"lua_ls",
|
||||
},
|
||||
automatic_installation = true,
|
||||
}
|
||||
end,
|
||||
}
|
||||
},
|
||||
opts = {
|
||||
servers = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue