-
Notifications
You must be signed in to change notification settings - Fork 181
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
{VISUAL} adds one extra line #178
Comments
I noticed this when I was working on #177. It only happens when you use visual line select (since that includes that last newline). I considered always removing the last newline in the visual selection, but I'm not sure that's correct. If anyone has a good argument for this, please share it. In the meantime, I'm going to think about it for a bit before deciding. I'm leaning towards it though. |
I went ahead and did it. |
Thank you! Yeah, I think that everyone will be using snippets from visual-line mode, so I think it really makes sense. |
After trying out the fix for #177, I realized that there is one extra space being added below
{VISUAL}
(I think this was already before, but I forgot to report it).Let's say I have the same snippet and code as in the above mentioned issue. I expect to end up with this:
But instead I end up with this:
The text was updated successfully, but these errors were encountered: