mason lsp
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require("nvchad.configs.lspconfig").defaults()
|
||||
|
||||
local servers = { "phpactor" }
|
||||
vim.lsp.enable(servers)
|
||||
-- local servers = { "phpactor" }
|
||||
-- vim.lsp.enable(servers)
|
||||
|
||||
-- read :h vim.lsp.config for changing options of lsp servers
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
return {
|
||||
{
|
||||
"williamboman/mason.nvim"
|
||||
},
|
||||
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
dependencies = {
|
||||
"mason-org/mason.nvim",
|
||||
"neovim/nvim-lspconfig",
|
||||
},
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"phpactor",
|
||||
"lua_ls",
|
||||
"nil_ls"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user