[Bug] Unknown function: trim
ZeyuSun opened this issue · 1 comments
ZeyuSun commented
This modification from PR #69 gives me an error every time I open vim
Recover.vim/autoload/recover.vim
Line 21 in 222c311
Error detected while processing function recover#CheckSwapFileExists[4]..<SNR>87_Swapname:
line 4:
E117: Unknown function: trim
E15: Invalid expression: trim(execute('swapname'))
line 8:
E121: Undefined variable: a
E15: Invalid expression: a[1:] == 'No swap file'
Is this a vim version issue? I am using vim version 8.0.1453.
chrisbra commented
Ah, when I merged that, I wondered whether trim()
is recent enough. Apparently not :(
Apparently this needs vim 8.0.1630