Skip to content

Commit

Permalink
Fix for punctuation functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Resike committed Jul 1, 2018
1 parent fda6411 commit 2c591da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WoW Lua.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ contexts:
- match: \b{{identifier}}\b
scope: source.method.lua
set: method-arguments
- include: immediately-pop

method-arguments:
- match: \(
scope: punctuation.section.group.begin.lua
set:
- method-arguments-end
- value-list
- include: immediately-pop

method-arguments-end:
- meta_scope: meta.method-call.lua
Expand Down
2 changes: 2 additions & 0 deletions WoW XML.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ contexts:
- match: \b{{identifier}}\b
scope: source.method.lua
set: method-arguments
- include: immediately-pop

method-arguments:
- match: \(
scope: punctuation.section.group.begin.lua
set:
- method-arguments-end
- value-list
- include: immediately-pop

method-arguments-end:
- meta_scope: meta.method-call.lua
Expand Down

0 comments on commit 2c591da

Please sign in to comment.