Closed Sombrer0Dev closed 8 months ago
I am not entirely sure whether this is the issue you have, but due to the way this plugin treats positions the divider line (between prefix and body), pressing o
on a prefix line creates another prefix line.
To add a new line something to the body, you'd have to press j
, and then i
.
Okay, I tweaked the behavior a bit, o
on the prefix line now simply adds a line to be body. O
on a prefix line still creates a new prefix line. Think that should be more intuitive.
Edit: Hey you fixed this as I was writing the comment, nice.
I think the issue is if you:
the first line of the snippet moves up to the prefix.
Before hitting enter: after pressing enter:
@zolrath that behavior should be fixed with the latest commit I made a few seconds before your comment :P
Bug Description
If i try to add a new line before code snippet in preselected snippet or add a new line in an empty snippet it will start to register as a prefix
Relevant Screenshot
New snippet
(no new line)
(new line)
Preselected snippet
(no new line)
(new line before selected text)
To Reproduce
New snippet
Preselected snippet
neovim version
Make sure you have done the following