From 8e12fd52908ecc7d53d1b456fe3b10e0833f1a63 Mon Sep 17 00:00:00 2001 From: Karl Grasegger Date: Fri, 8 Apr 2022 17:57:46 +0000 Subject: PHP roots and languageserver improvements (#2031) Co-authored-by: Karl Grasegger --- languages.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'languages.toml') 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]] -- cgit v1.2.3-70-g09d2