1
0
Fork 0

nvim: fix phpactor

This commit is contained in:
Vladimír Dudr 2023-05-30 14:17:19 +02:00
parent 0f3d0b27a2
commit 4365b73b8f

View file

@ -39,7 +39,7 @@ local server_configs = function()
organize_imports_on_format = true, organize_imports_on_format = true,
enable_import_completion = true, enable_import_completion = true,
sdk_include_prereleases = true, sdk_include_prereleases = true,
analyze_open_documents_only = false, analyze_open_documents_only = true,
}, -- }}} }, -- }}}
lua_ls = { lua_ls = {
-- {{{ -- {{{
@ -56,6 +56,7 @@ local server_configs = function()
}, -- }}} }, -- }}}
phpactor = { phpactor = {
-- {{{ -- {{{
cmd = { vim.env.HOME .. '/devel/phpactor/bin/phpactor', 'language-server' },
handlers = { handlers = {
['textDocument/publishDiagnostics'] = vim.lsp.with( ['textDocument/publishDiagnostics'] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, { vim.lsp.diagnostic.on_publish_diagnostics, {