feat: add php setup for neovim
This commit is contained in:
@@ -61,3 +61,16 @@ lspconfig.pyright.setup {
|
||||
}
|
||||
|
||||
lspconfig.gleam.setup({})
|
||||
|
||||
lspconfig.phpactor.setup {
|
||||
root_dir = function(_)
|
||||
return vim.loop.cwd()
|
||||
end,
|
||||
init_options = {
|
||||
["language_server.diagnostics_on_update"] = false,
|
||||
["language_server.diagnostics_on_open"] = false,
|
||||
["language_server.diagnostics_on_save"] = false,
|
||||
["language_server_phpstan.enabled"] = false,
|
||||
["language_server_psalm.enabled"] = false,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -140,6 +140,7 @@ local plugins = {
|
||||
"debugpy",
|
||||
"lua-language-server",
|
||||
"nil",
|
||||
"phpactor",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user