Open tomtomjhj opened 2 days ago
nvim --clean --cmd 'set rtp^=.' -c 'Fern .'
<CR>
<C-o>
<C-i>
E19: Mark has invalid line number
Interestingly, the line number of the position in jumplist keeps increasing after each <C-o>, <C-i> cycle:
# In README.md :ju jump line col file/text 2 1 0 fern://79154091/file:///home/user/.vim/plugged/vim-fern$ 1 41 0 fern://79154091/file:///home/user/.vim/plugged/vim-fern$ > 0 1 0 # 🌿 vim-fern # run <C-o> <C-i> :ju jump line col file/text 2 1 0 fern://79154091/file:///home/user/.vim/plugged/vim-fern$ 1 49 0 fern://79154091/file:///home/user/.vim/plugged/vim-fern$
Vim (9.1.771) does not raise E19, but you can see the line number increasing after each <C-o>, <C-i>.
Reproduced.
https://github.com/lambdalisue/vim-fern/blob/2cf57c60df508d15878e03c1e8fb12506384212a/autoload/fern/internal/viewer.vim?plain=1#L49
Using bufhidden=hide solve the issue but I'm not sure if it should.
bufhidden=hide
<CR>
on it.<C-o>
.<C-i>
<C-o>
E19: Mark has invalid line number
Interestingly, the line number of the position in jumplist keeps increasing after each
<C-o>
,<C-i>
cycle:Vim (9.1.771) does not raise E19, but you can see the line number increasing after each
<C-o>
,<C-i>
.