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

Don't treat [[...]] as template syntax region #3188

Merged
merged 1 commit into from
Apr 1, 2021
Merged

Don't treat [[...]] as template syntax region #3188

merged 1 commit into from
Apr 1, 2021

Conversation

alker0
Copy link
Contributor

@alker0 alker0 commented Apr 1, 2021

The official template doc

The input text for a template is UTF-8-encoded text in any format. "Actions"--data evaluations or control structures--are delimited by "{{" and "}}"; all text outside actions is copied to the output unchanged. Except for raw strings, actions may not span newlines, although comments can.

Double angle brackets [[ is not syntax for starting go template region.
This PR removes the highlight for it.

@alker0 alker0 changed the title Don't treat [[...]] as template region Don't treat [[...]] as template syntax region Apr 1, 2021
@bhcleek bhcleek added this to the vim-go 1.25 milestone Apr 1, 2021
@bhcleek
Copy link
Collaborator

bhcleek commented Apr 1, 2021

Thank you

@bhcleek bhcleek merged commit 6e097d3 into fatih:master Apr 1, 2021
bhcleek added a commit that referenced this pull request Apr 1, 2021
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

Successfully merging this pull request may close these issues.

2 participants