aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/tohtml.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/tohtml.lua')
-rw-r--r--runtime/lua/tohtml.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/tohtml.lua b/runtime/lua/tohtml.lua
index d15412edee..68fef38c64 100644
--- a/runtime/lua/tohtml.lua
+++ b/runtime/lua/tohtml.lua
@@ -431,13 +431,13 @@ local function styletable_treesitter(state)
end
buf_highlighter.tree:parse(true)
buf_highlighter.tree:for_each_tree(function(tstree, tree)
- --- @cast tree LanguageTree
+ --- @cast tree vim.treesitter.LanguageTree
if not tstree then
return
end
local root = tstree:root()
local q = buf_highlighter:get_query(tree:lang())
- --- @type Query?
+ --- @type vim.treesitter.Query?
local query = q:query()
if not query then
return