Skip to content
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

Multi-line comment quirk - it inserts single-line comment prefixes #138

Open
silky opened this issue Feb 20, 2024 · 1 comment
Open

Multi-line comment quirk - it inserts single-line comment prefixes #138

silky opened this issue Feb 20, 2024 · 1 comment

Comments

@silky
Copy link
Contributor

silky commented Feb 20, 2024

Thanks for this lovely plugin! I'm beyond excited to be able to agda in vim :)

One thing I noticed is that if I begin a multi-line comment block, then I press Enter to go to a newline, I get single-line comment prefixes inserted:

image

This was created by typing:

Hello<cr><cr><cr><cr><cr>

@googleson78 suggests that perhaps a fix could be to not tag {- -} as comments; i.e. remove this:

setlocal comments=sfl:{-,mb1:--,ex:-},:--

But perhaps there is another alternative!

Thanks :)

@isovector
Copy link
Owner

isovector commented Feb 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants