enc: default config php

This commit is contained in:
asep.komarudin 2024-06-22 11:31:24 +07:00
parent 2165fb1c63
commit abb9a69a87
6 changed files with 126 additions and 125 deletions

View file

@ -42,4 +42,14 @@ if pcode.active_javascript_config.status then
end
table.insert(pcode.mason_ensure_installed, "tsserver")
end
-- run if php config true
if pcode.active_php_config then
local lst_ts = { "php", "phpdoc" }
for _, ts in pairs(lst_ts) do
table.insert(pcode.treesitter_ensure_installed, ts)
end
table.insert(pcode.mason_ensure_installed, "intelephense")
table.insert(pcode.null_ls_ensure_installed, "phpcbf")
table.insert(pcode.null_ls_ensure_installed, "phpcs")
end
return {}