Swap from phpactor to Intelephense, which seems to do a better job

This commit is contained in:
Danielle McLean 2024-07-09 10:43:51 +10:00
parent 7d64ff07b0
commit c88775b450
Signed by: 00dani
GPG key ID: 6854781A0488421C

View file

@ -20,6 +20,14 @@ const lspServers = [
install: 'npm install -g dockerfile-language-server-nodejs', 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', name: 'lua-language-server',
filetype: 'lua', filetype: 'lua',
@ -46,17 +54,6 @@ const lspServers = [
perl.Lsp('Perl::LanguageServer', ['-e', 'Perl::LanguageServer::run']), 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', name: 'PowerShellEditorServices',
filetype: 'ps1', filetype: 'ps1',