PHP roots and languageserver improvements (#2031)

Co-authored-by: Karl Grasegger <karl.grasegger@gebruederheitz.de>
pull/2035/head
Karl Grasegger 2 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 | ✓ | | | | | ocaml-interface | ✓ | | | |
| org | ✓ | | | | | org | ✓ | | | |
| perl | ✓ | ✓ | ✓ | | | perl | ✓ | ✓ | ✓ | |
| php | ✓ | ✓ | ✓ | | | php | ✓ | ✓ | ✓ | `intelephense` |
| prolog | | | | `swipl` | | prolog | | | | `swipl` |
| protobuf | ✓ | | ✓ | | | protobuf | ✓ | | ✓ | |
| python | ✓ | ✓ | ✓ | `pylsp` | | python | ✓ | ✓ | ✓ | `pylsp` |

@ -428,7 +428,8 @@ scope = "source.php"
injection-regex = "php" injection-regex = "php"
file-types = ["php"] file-types = ["php"]
shebangs = ["php"] shebangs = ["php"]
roots = [] roots = ["composer.json", "index.php"]
language-server = { command = "intelephense", args = ["--stdio"] }
indent = { tab-width = 4, unit = " " } indent = { tab-width = 4, unit = " " }
[[grammar]] [[grammar]]

Loading…
Cancel
Save