Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Use begin/end for brackets #133

Merged
merged 1 commit into from Jul 17, 2017
Merged

Use begin/end for brackets #133

merged 1 commit into from Jul 17, 2017

Conversation

50Wliu
Copy link
Contributor

@50Wliu 50Wliu commented Jul 16, 2017

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

Use recursive begin/end matching for curly and round brackets.

Alternate Designs

None.

Benefits

Makes language-go consistent with most other languages, such as language-javascript, -java, -php, etc.

Possible Drawbacks

The brackets may be closed improperly if a rule matches an opening bracket but not a closing one.

Applicable Issues

Fixes #130

@50Wliu 50Wliu merged commit c413bc9 into master Jul 17, 2017
@50Wliu 50Wliu deleted the wl-proper-brackets branch July 17, 2017 02:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Variable block declaration syntax highlighting broken by call assignment
1 participant