aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-04-01 15:39:25 +0200
committerGitHub <noreply@github.com>2023-04-01 15:39:25 +0200
commit19110eddb96a125dd391d2a215e04a7ae376ccf1 (patch)
tree520bb7db80fbeeec027d516872459bba05280970 /runtime/lua
parent4f66530af1d5e501f7b57ddd79e9c185af1b5f39 (diff)
parent438c3419df00d6f943a1c932bb1d60ab15bd08e9 (diff)
downloadrneovim-19110eddb96a125dd391d2a215e04a7ae376ccf1.tar.gz
rneovim-19110eddb96a125dd391d2a215e04a7ae376ccf1.tar.bz2
rneovim-19110eddb96a125dd391d2a215e04a7ae376ccf1.zip
Merge pull request #22837 from clason/ts-sync
build(deps): bump tree-sitter-viml to HEAD fix(tests): adapt treesitter/highlight_spec priority test fix(treesitter): update queries from nvim-treesitter refactor(treesitter)!: rename help parser to vimdoc docs(treesitter): add query injections
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/treesitter/language.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/lua/vim/treesitter/language.lua b/runtime/lua/vim/treesitter/language.lua
index b1c788e6ba..5b74bb6200 100644
--- a/runtime/lua/vim/treesitter/language.lua
+++ b/runtime/lua/vim/treesitter/language.lua
@@ -4,7 +4,9 @@ local a = vim.api
local M = {}
---@type table<string,string>
-local ft_to_lang = {}
+local ft_to_lang = {
+ help = 'vimdoc',
+}
--- Get the filetypes associated with the parser named {lang}.
--- @param lang string Name of parser