Skip to content

Refinements to GoSublime-Go syntax#660

Open
brynbellomy wants to merge 1 commit into
DisposaBoy:masterfrom
brynbellomy:master
Open

Refinements to GoSublime-Go syntax#660
brynbellomy wants to merge 1 commit into
DisposaBoy:masterfrom
brynbellomy:master

Conversation

@brynbellomy

Copy link
Copy Markdown

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

ottob commented Dec 18, 2015

Copy link
Copy Markdown

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

ottob commented Dec 18, 2015

Copy link
Copy Markdown

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