mason lsp
This commit is contained in:
1 parent
cbf12def45
commit
0bdaff2282
2 files changed
+9
-6
No files matched your search
@@ -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
|
||||||
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user