aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
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]]