-
Notifications
You must be signed in to change notification settings - Fork 66
Link processing is broken with changes from 2023-05-09 #305
Copy link
Copy link
Closed
Description
Latest changes (I guess from 2023-05-09) broke link navigation.
When I press Enter on a link I get the following:
Error detected while processing function wiki#link#follow[1]..wiki#link#get[3]..script /home/toxa/dotfiles/vim/.vim/plugged/wiki.vim/autoload/wiki/link/definitions.vim:
line 71:
E121: Undefined variable: wiki#link#def#reference
line 72:
E121: Undefined variable: a:link
E116: Invalid arguments for function matchstr(a:link.content, self.rx_target)
line 75:
E121: Undefined variable: a:link
E116: Invalid arguments for function searchpos('^\s*\[' . a:link.id . '\]: ', 'nW')[0]
line 76:
E121: Undefined variable: a:link
line 85:
E121: Undefined variable: a:link
E116: Invalid arguments for function getline(a:link.lnum_target)
line 86:
E121: Undefined variable: l:line
E116: Invalid arguments for function matchstr(l:line, g:wiki#rx#url)
line 87:
E121: Undefined variable: a:link
E116: Invalid arguments for function empty(a:link.url) | return | endif
line 92:
E133: :return not inside a function
line 188:
E171: Missing :endif
Error detected while processing function wiki#link#follow[1]..wiki#link#get:
line 3:
E121: Undefined variable: g:wiki#link#definitions#all
VIM version 9.0.1388
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels