diff options
| -rw-r--r-- | lockfile.json | 2 | ||||
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 5 | ||||
| -rw-r--r-- | queries/help/highlights.scm | 19 |
3 files changed, 13 insertions, 13 deletions
diff --git a/lockfile.json b/lockfile.json index dada62e6d..576c9ebb7 100644 --- a/lockfile.json +++ b/lockfile.json @@ -144,7 +144,7 @@ "revision": "881f1c805f51485a26ecd7865d15c9ef8d606a78" }, "help": { - "revision": "d1900d988c16a40f6882bfe590cecd9fafb7434f" + "revision": "55292d96a0c76235c64a2b50aba8c8d9765129df" }, "hjson": { "revision": "02fa3b79b3ff9a296066da6277adfc3f26cbc9e0" diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 34fb8be89..db8ea2c98 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -964,12 +964,11 @@ list.vim = { list.help = { install_info = { - url = "https://github.com/vigoux/tree-sitter-vimdoc", - files = { "src/parser.c", "src/scanner.c" }, + url = "https://github.com/neovim/tree-sitter-vimdoc", + files = { "src/parser.c" }, }, filetype = "help", maintainers = { "@vigoux" }, - experimental = true, } list.json5 = { diff --git a/queries/help/highlights.scm b/queries/help/highlights.scm index 500d08b84..6be4e49c8 100644 --- a/queries/help/highlights.scm +++ b/queries/help/highlights.scm @@ -1,15 +1,16 @@ -(headline) @text.title +(h1) @text.title +(h2) @text.title +(h3) @text.title (column_heading) @text.title (tag "*" @conceal (#set! conceal "") - name: (_) @label) -(option - "'" @conceal (#set! conceal "") - name: (_) @text.literal) -(hotlink + text: (_) @label) +(taglink "|" @conceal (#set! conceal "") - destination: (_) @text.reference) -(backtick + text: (_) @text.reference) +(optionlink + text: (_) @text.literal) +(codespan "`" @conceal (#set! conceal "") - content: (_) @string) + text: (_) @string) (argument) @parameter |
