-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Recursive macro doesn't work with bullets.vim loaded #94
Comments
I've hit something similar. I don't think recursion is the problem. Rather, bullets.vim seems to remove newlines if they are inserted by a macro. For example, with the following call plug#begin('~/.vim/plugged')
Plug 'dkarter/bullets.vim'
call plug#end() And the following macro defined (note that
If I run the macro on a line of text, I would expect to see:
But instead I see:
If I disable bullets.vim, I get the expected result. |
I've switched to autolist.nvim instead and it works great :) |
This recursive macro didn't work and after some investigation I found out that removing bullets.vim solves the issue. I have no clue why, but here's how to reproduce it:
Use the following
.vimrc
/init.vim
:Create a new file that contains the following line:
Execute the following commands on that line, which creates a recursive macro in register
q
:_qqqqqf,a<CR><Esc>@qq
, and immediately after that press@q
to call the macro.The file is unchanged. However, without bullets.vim, the file will look like this:
Output of
:version
:The same error appears in Vim as well.
The text was updated successfully, but these errors were encountered: