diff options
| author | moxie <moxie@3kgcat.fi> | 2026-03-13 20:31:23 +0200 |
|---|---|---|
| committer | moxie <moxie@3kgcat.fi> | 2026-03-13 20:31:23 +0200 |
| commit | d4e100dd5f84d77b3dd16af2d7f2590a8b2bd030 (patch) | |
| tree | db5f63dc5041e71198452dd4c5a827946bbcadbf /lua | |
| parent | 716fff3bff92fd9dd67163117f71f52e7a1f5bfd (diff) | |
fix: add nullable type annotation for link_node
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/muwiki/links/detection.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/muwiki/links/detection.lua b/lua/muwiki/links/detection.lua index 356e0ba..7b1f317 100644 --- a/lua/muwiki/links/detection.lua +++ b/lua/muwiki/links/detection.lua @@ -24,7 +24,7 @@ function M.get_link() return nil end - local link_node = node + local link_node = node ---@type TSNode|nil while link_node and link_node:type() ~= 'inline_link' do link_node = link_node:parent() end |
