diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-03-06 12:15:25 +0000 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-03-06 16:03:33 +0000 |
commit | 85b13751a5fc28fadbe74d72982325ca27b4c775 (patch) | |
tree | 0690fe4c552acfd03a69466b85bd7eda50509474 /runtime/lua/tohtml.lua | |
parent | 3c572a31a3bb7009b4ad8eac56da1458acae3b75 (diff) | |
download | rneovim-85b13751a5fc28fadbe74d72982325ca27b4c775.tar.gz rneovim-85b13751a5fc28fadbe74d72982325ca27b4c775.tar.bz2 rneovim-85b13751a5fc28fadbe74d72982325ca27b4c775.zip |
refactor(types): more fixes (2)
Diffstat (limited to 'runtime/lua/tohtml.lua')
-rw-r--r-- | runtime/lua/tohtml.lua | 4 |
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 |