mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-19 18:25:22 +02:00
Check lsp client is active for all language files (#790)
This commit is contained in:
parent
9233611bdc
commit
53fed9d655
33 changed files with 412 additions and 291 deletions
|
@ -1,3 +1,7 @@
|
|||
if require("lv-utils").check_lsp_client_active "intelephense" then
|
||||
return
|
||||
end
|
||||
|
||||
require("lspconfig").intelephense.setup {
|
||||
cmd = { DATA_PATH .. "/lspinstall/php/node_modules/.bin/intelephense", "--stdio" },
|
||||
on_attach = require("lsp").common_on_attach,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue