add: config php support single file

This commit is contained in:
asep.komarudin 2024-04-19 19:59:30 +07:00
parent 68795d84bf
commit f00438c822
5 changed files with 42 additions and 22 deletions

View file

@ -0,0 +1,6 @@
return {
cmd = { "intelephense", "--stdio" },
filetypes = { "php" },
root_dir = require("lspconfig.util").root_pattern("composer.json", ".git") or vim.loop.cwd() or vim.fn.getcwd(),
single_file_support = true,
}