From c88775b45003711a700b840a6a39907ae8518c5f Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Tue, 9 Jul 2024 10:43:51 +1000 Subject: [PATCH] Swap from phpactor to Intelephense, which seems to do a better job --- dot-config/vim/lsp/servers.vim | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/dot-config/vim/lsp/servers.vim b/dot-config/vim/lsp/servers.vim index 62d3cbd..6892ab0 100644 --- a/dot-config/vim/lsp/servers.vim +++ b/dot-config/vim/lsp/servers.vim @@ -20,6 +20,14 @@ const lspServers = [ install: 'npm install -g dockerfile-language-server-nodejs', }, + { + name: 'intelephense', + filetype: 'php', + path: expand('~/.local/bin/intelephense'), + args: ['--stdio'], + install: 'npm install -g intelephense', + }, + { name: 'lua-language-server', filetype: 'lua', @@ -46,17 +54,6 @@ const lspServers = [ perl.Lsp('Perl::LanguageServer', ['-e', 'Perl::LanguageServer::run']), - { - name: 'phpactor', - filetype: 'php', - path: expand('~/bin/phpactor'), - args: ['language-server'], - initializationOptions: { - 'language_server_configuration.auto_config': false, - }, - install: 'curl -Lo phpactor https://github.com/phpactor/phpactor/releases/latest/download/phpactor.phar && chmod u+x phpactor && mv phpactor ~/bin', - }, - { name: 'PowerShellEditorServices', filetype: 'ps1',