aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorMichael Härtl <haertl.mike@gmail.com>2022-01-17 12:20:47 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-20 15:37:44 +0100
commitd7c4ae886d90471b1839dd601887bdd6e882efd9 (patch)
tree37bf8b384531d0c0651dd70ebf0ba7f9ae4a0dc6 /lua
parenthighlights(c): don't highlight type qualifiers in declarations as types (diff)
downloadnvim-treesitter-d7c4ae886d90471b1839dd601887bdd6e882efd9.tar
nvim-treesitter-d7c4ae886d90471b1839dd601887bdd6e882efd9.tar.gz
nvim-treesitter-d7c4ae886d90471b1839dd601887bdd6e882efd9.tar.bz2
nvim-treesitter-d7c4ae886d90471b1839dd601887bdd6e882efd9.tar.lz
nvim-treesitter-d7c4ae886d90471b1839dd601887bdd6e882efd9.tar.xz
nvim-treesitter-d7c4ae886d90471b1839dd601887bdd6e882efd9.tar.zst
nvim-treesitter-d7c4ae886d90471b1839dd601887bdd6e882efd9.zip
parsers: add phpdoc parser (experimental)
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/parsers.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index 8e28d743d..3fc43f884 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -245,6 +245,17 @@ 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,
+ },
+ experimental = true,
+}
+
list.java = {
install_info = {
url = "https://github.com/tree-sitter/tree-sitter-java",