PHP roots and languageserver improvements (#2031)

Co-authored-by: Karl Grasegger <karl.grasegger@gebruederheitz.de>
This commit is contained in:
Karl Grasegger 2022-04-08 17:57:46 +00:00 committed by GitHub
parent 19ff21eaa2
commit 8e12fd5290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,7 @@
| ocaml-interface | ✓ | | | |
| org | ✓ | | | |
| perl | ✓ | ✓ | ✓ | |
| php | ✓ | ✓ | ✓ | |
| php | ✓ | ✓ | ✓ | `intelephense` |
| prolog | | | | `swipl` |
| protobuf | ✓ | | ✓ | |
| python | ✓ | ✓ | ✓ | `pylsp` |

View File

@ -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]]