summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorKarl Grasegger2022-04-08 17:57:46 +0000
committerGitHub2022-04-08 17:57:46 +0000
commit8e12fd52908ecc7d53d1b456fe3b10e0833f1a63 (patch)
tree69bd9677c4789710ea119bf57f424a1ef6adce4d /languages.toml
parent19ff21eaa27141807ee206230d1e6e9f071b8180 (diff)
PHP roots and languageserver improvements (#2031)
Co-authored-by: Karl Grasegger <karl.grasegger@gebruederheitz.de>
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 8c91db9f..f331edfe 100644
--- a/languages.toml
+++ b/languages.toml
@@ -428,7 +428,8 @@ scope = "source.php"
injection-regex = "php"
file-types = ["php"]
shebangs = ["php"]
-roots = []
+roots = ["composer.json", "index.php"]
+language-server = { command = "intelephense", args = ["--stdio"] }
indent = { tab-width = 4, unit = " " }
[[grammar]]