Skip to content

Commit

Permalink
[Go] misc tweaks from code review
Browse files Browse the repository at this point in the history
Co-authored-by: deathaxe <deathaxe@web.de>
  • Loading branch information
mitranim and deathaxe authored Apr 18, 2022
1 parent 1ce3081 commit 97a627b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Go/Go.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ contexts:

match-keyword-package:
- match: \bpackage\b
scope: storage.type.namespace.go keyword.declaration.namespace.go
scope: keyword.declaration.namespace.go
push: [meta-namespace, pop-package-name]

pop-package-name:
Expand Down Expand Up @@ -865,8 +865,7 @@ contexts:
- match: \(
scope: punctuation.section.parens.begin.go
set: pop-type-declaration-list
- match: (?=\S)
set: pop-type-declaration
- include: pop-type-declaration

pop-type-declaration-list:
- include: pop-on-paren-end
Expand Down Expand Up @@ -1418,6 +1417,7 @@ contexts:
2: punctuation.accessor.dot.go

meta-function-declaration:
- meta_include_prototype: false
- meta_scope: meta.function.declaration.go
- include: pop-now

Expand Down

0 comments on commit 97a627b

Please sign in to comment.