You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
n [m *@:call <SNR>59_Python_jump('n', '\v^\s*(class|def|async def)>', 'Wb')<CR>
n [[ *@:call <SNR>59_Python_jump('n', '\v^(class|def|async def)>', 'Wb')<CR>
n ]m *@:call <SNR>59_Python_jump('n', '\v%$|^\s*(class|def|async def)>', 'W')<CR>
n ]] *@:call <SNR>59_Python_jump('n', '\v%$|^(class|def|async def)>', 'W')<CR>
The following
let mappings = savemap#save_map('n')
produce:
Error detected while processing function SubmodesLoaded[39]..savemap#save_map[1]..<SNR>77_save_map[12]..<SNR>77_make_ma
p_info[15]..<SNR>77_restore_map_info:
line 11:
E492: Not an editor command: def|async def)>', 'Wb')<cr>
Error detected while processing function SubmodesLoaded[39]..savemap#save_map[1]..<SNR>77_save_map[12]..<SNR>77_make_ma
p_info[15]..<SNR>77_restore_map_info:
line 11:
E492: Not an editor command: def|async def)>', 'Wb')<cr>
Error detected while processing function SubmodesLoaded[39]..savemap#save_map[1]..<SNR>77_save_map[12]..<SNR>77_make_ma
p_info[15]..<SNR>77_restore_map_info:
line 11:
E492: Not an editor command: ^\s*(class|def|async def)>', 'W')<cr>
Error detected while processing function SubmodesLoaded[39]..savemap#save_map[1]..<SNR>77_save_map[12]..<SNR>77_make_ma
p_info[15]..<SNR>77_restore_map_info:
line 11:
E492: Not an editor command: ^(class|def|async def)>', 'W')<cr>
I fixed the error by duplicating the code that replace | with <bar> for the rhs. (it was a quick and dirty patch, i don't even know if that is the way to solve the issue)
function! s:maparg(...) "{{{
let info = call('maparg', a:000)
if has_key(info, 'lhs')
let info.lhs = substitute(info.lhs, '|', '<Bar>', 'g')
endif
if has_key(info, 'rhs')
let info.rhs = substitute(info.rhs, '|', '<Bar>', 'g')
endif
return info
endfunction "}}}
But now the mappings output (even though i didn't clear or restore the mappings)
E117: Unknown function: <SNR>77_Python_jump
The text was updated successfully, but these errors were encountered:
Hi !
Thanks for that incredibly useful plugin !
The plugin 'crash' when the rhs contains a |.
The following
produce:
I fixed the error by duplicating the code that replace | with <bar> for the rhs. (it was a quick and dirty patch, i don't even know if that is the way to solve the issue)
But now the mappings output (even though i didn't clear or restore the mappings)
The text was updated successfully, but these errors were encountered: