mason lsp

This commit is contained in:
2026-01-30 23:35:41 -06:00
parent cbf12def45
commit 0bdaff2282
2 changed files with 9 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
require("nvchad.configs.lspconfig").defaults() require("nvchad.configs.lspconfig").defaults()
local servers = { "phpactor" } -- local servers = { "phpactor" }
vim.lsp.enable(servers) -- vim.lsp.enable(servers)
-- read :h vim.lsp.config for changing options of lsp servers -- read :h vim.lsp.config for changing options of lsp servers

View File

@@ -1,13 +1,16 @@
return { return {
{
"williamboman/mason.nvim"
},
{ {
"williamboman/mason-lspconfig.nvim", "williamboman/mason-lspconfig.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"mason-org/mason.nvim",
"neovim/nvim-lspconfig",
},
opts = { opts = {
ensure_installed = { ensure_installed = {
"phpactor", "phpactor",
"lua_ls",
"nil_ls"
} }
} }
} }