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

Refinements to GoSublime-Go syntax #660

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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