Skip to content

backslashes in delimiters aren't handled consistently #402

Description

@roryrjb

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions