PHP roots and languageserver improvements (#2031)

Co-authored-by: Karl Grasegger <karl.grasegger@gebruederheitz.de>
pull/2035/head
Karl Grasegger 3 years ago committed by GitHub
parent 19ff21eaa2
commit 8e12fd5290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

Loading…
Cancel
Save