diff options
author | Karl Grasegger | 2022-04-08 17:57:46 +0000 |
---|---|---|
committer | GitHub | 2022-04-08 17:57:46 +0000 |
commit | 8e12fd52908ecc7d53d1b456fe3b10e0833f1a63 (patch) | |
tree | 69bd9677c4789710ea119bf57f424a1ef6adce4d | |
parent | 19ff21eaa27141807ee206230d1e6e9f071b8180 (diff) |
PHP roots and languageserver improvements (#2031)
Co-authored-by: Karl Grasegger <karl.grasegger@gebruederheitz.de>
-rw-r--r-- | book/src/generated/lang-support.md | 2 | ||||
-rw-r--r-- | languages.toml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 9039ca15..6331b059 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -46,7 +46,7 @@ | ocaml-interface | ✓ | | | | | org | ✓ | | | | | perl | ✓ | ✓ | ✓ | | -| php | ✓ | ✓ | ✓ | | +| php | ✓ | ✓ | ✓ | `intelephense` | | prolog | | | | `swipl` | | protobuf | ✓ | | ✓ | | | python | ✓ | ✓ | ✓ | `pylsp` | 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]] |