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

enabling folding #7

Open
minig0d opened this issue Jan 12, 2020 · 0 comments
Open

enabling folding #7

minig0d opened this issue Jan 12, 2020 · 0 comments

Comments

@minig0d
Copy link

minig0d commented Jan 12, 2020

Sorry me and git don't get along so I can't do a PR... but some dropin code if you want to implement... Took a while to get VSC's wonky regex to like it and couldn't figure out a way to get the reference the capture group from end to work so had to replace it with a wildcard... (guessing it's safe enough but I'm sure it could be tightened up a little)

    "folding": {
        "markers": {
          "start": "^\\s*<(?!\/)(\\S*)(.*?)>(?!\/>)",
          "end": "^\\s*<\/.*?>"
        }
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