mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-19 10:21:18 +00:00
Merge branch 'main' into languages/add-intelephense-php-lsp
This commit is contained in:
commit
8dd7d943c7
7 changed files with 176 additions and 14 deletions
|
|
@ -64,7 +64,7 @@
|
|||
}
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
intelephense = {
|
||||
package = pkgs.intelephense;
|
||||
lspConfig = ''
|
||||
|
|
@ -72,15 +72,15 @@
|
|||
capabilities = capabilities,
|
||||
on_attach = default_on_attach,
|
||||
cmd = ${
|
||||
if isList cfg.lsp.package
|
||||
then expToLua cfg.lsp.package
|
||||
else ''
|
||||
{
|
||||
"${getExe cfg.lsp.package}",
|
||||
"--stdio"
|
||||
},
|
||||
''
|
||||
}
|
||||
if isList cfg.lsp.package
|
||||
then expToLua cfg.lsp.package
|
||||
else ''
|
||||
{
|
||||
"${getExe cfg.lsp.package}",
|
||||
"--stdio"
|
||||
},
|
||||
''
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue