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

backslashes in delimiters aren't handled consistently #402

Open
roryrjb opened this issue Oct 26, 2019 · 1 comment
Open

backslashes in delimiters aren't handled consistently #402

roryrjb opened this issue Oct 26, 2019 · 1 comment

Comments

@roryrjb
Copy link
Contributor

roryrjb commented Oct 26, 2019

I added a pull request recently (#397) that was merged, this added support for troff-family (groff, troff, mandoc) comment delimiters, related to, but distinct from the existing man/manpage delimiters. This worked for adding the delimiter, but I've only just noticed that when trying to remove the delimiter it doesn't work and just adds another delimiter, i.e.:

.\" with this comment line I press <leader>C <space>
.\" .\" I get this

...I'm not that familiar with either this code base or Vim scripting but I believe it's just how backslashes are handled. From looking at all the delimiter definitions, the recent pull request above was the first time backslashes were present so I believe this has never come up.

@roryrjb
Copy link
Contributor Author

roryrjb commented Oct 26, 2019

I have opened a pull request to try to address this: #403.

@roryrjb roryrjb changed the title backslashes aren't handled consistently backslashes in delimiters aren't handled consistently Oct 26, 2019
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

1 participant