deactivate phpactor

main
Mathias Rothenhaeusler 2025-01-07 10:40:45 +01:00
parent 0885e0e9b9
commit e00b8ca9a9
1 changed files with 18 additions and 14 deletions

View File

@ -206,15 +206,15 @@ lspconfig["lua_ls"].setup({
filetypes = { "lua" },
})
lspconfig["phpactor"].setup({
on_attach = on_attach,
capabilities = capabilities,
init_options = {
["language_server_phpstan.enabled"] = true,
["language_server_psalm.enabled"] = false,
},
filetypes = { "php" },
})
-- lspconfig["phpactor"].setup({
-- on_attach = on_attach,
-- capabilities = capabilities,
-- init_options = {
-- ["language_server_phpstan.enabled"] = true,
-- ["language_server_psalm.enabled"] = false,
-- },
-- filetypes = { "php" },
-- })
lspconfig["intelephense"].setup({
capabilities = capabilities,
@ -227,3 +227,7 @@ lspconfig["slint_lsp"].setup({
capabilities = capabilities,
filetypes = { "slint" },
})
vim.g.nvim_phpcs_config_phpcs_path = 'phpcs'
vim.g.nvim_phpcs_config_phpcbf_path = 'phpcbf'
vim.g.nvim_phpcs_config_phpcs_standard = "/home/mace/repos/configs/phpcs.xml"