Skip to content

foldmarker=<section,</section does not work #12

Description

@denilsonsa

Due to this regex:
https://github.com/ciaranm/securemodelines/blob/master/plugin/securemodelines.vim#L62

My foldmarker (which is great for HTML) is not being set, and no warning is being printed.

<!-- vim:set foldmethod=marker foldmarker=<section,</section -->

There are two issues:

  1. There should have been a warning in that case. It would have saved me a lot of debugging time.
  2. That setting should work. Maybe we should have some special-case for options that allow a freeform string (such as foldmarker, and maybe the issue 9).

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions