Skip to content

Conversation

@brynbellomy
Copy link

Extracted a lot of the existing regexes into the repository section of the syntax, so that they'd be reusable. Also added some new stuff.

Happy to refine this further if you have ideas/thoughts.

Screenshots

  • Struct field tags are highlightable

image

  • In-function var and const blocks
  • Struct and slice literals

image

  • Method receivers and their local instances are scoped separately

image

... etc.

@ottob
Copy link

ottob commented Dec 18, 2015

Perhaps these improvements can be submitted to the https://github.com/ironcladlou/GoTools project as well? It is actively maintained. I've switched to it from GoSublime.

@ottob
Copy link

ottob commented Dec 18, 2015

Thanks for looking at this bryn. Have you seen this issue sublimehq/Packages#48?

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