aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorMichael Härtl <haertl.mike@gmail.com>2022-02-01 12:51:31 +0100
committerGitHub <noreply@github.com>2022-02-01 12:51:31 +0100
commit92ce0fc3d53de8d57349f1e55760b0d44b16c842 (patch)
treebcdc5e413575517c83dddfca4bb35172ab4a3a0b /lua
parentci: mark automated PRs as draft (#2413) (diff)
downloadnvim-treesitter-92ce0fc3d53de8d57349f1e55760b0d44b16c842.tar
nvim-treesitter-92ce0fc3d53de8d57349f1e55760b0d44b16c842.tar.gz
nvim-treesitter-92ce0fc3d53de8d57349f1e55760b0d44b16c842.tar.bz2
nvim-treesitter-92ce0fc3d53de8d57349f1e55760b0d44b16c842.tar.lz
nvim-treesitter-92ce0fc3d53de8d57349f1e55760b0d44b16c842.tar.xz
nvim-treesitter-92ce0fc3d53de8d57349f1e55760b0d44b16c842.tar.zst
nvim-treesitter-92ce0fc3d53de8d57349f1e55760b0d44b16c842.zip
update(phpdoc) Add scanner.c (#2426)
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/parsers.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index e5c36ad08..1ec1748f3 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -245,18 +245,6 @@ list.php = {
maintainers = { "@tk-shirasaka" },
}
-list.phpdoc = {
- install_info = {
- url = "https://github.com/claytonrcarter/tree-sitter-phpdoc",
- files = { "src/parser.c" },
- -- parser.c in the repo still based on TS 0.17 due to other dependencies
- requires_generate_from_grammar = true,
- generate_requires_npm = true,
- },
- maintainers = { "@mikehaertl" },
- experimental = true,
-}
-
list.java = {
install_info = {
url = "https://github.com/tree-sitter/tree-sitter-java",
@@ -636,6 +624,18 @@ list.pascal = {
}
-- Parsers for injections
+list.phpdoc = {
+ install_info = {
+ url = "https://github.com/claytonrcarter/tree-sitter-phpdoc",
+ files = { "src/parser.c", "src/scanner.c" },
+ -- parser.c in the repo still based on TS 0.17 due to other dependencies
+ requires_generate_from_grammar = true,
+ generate_requires_npm = true,
+ },
+ maintainers = { "@mikehaertl" },
+ experimental = true,
+}
+
list.regex = {
install_info = {
url = "https://github.com/tree-sitter/tree-sitter-regex",