Skip to content

Commit

Permalink
allow whitespace between parenthesis for node types
Browse files Browse the repository at this point in the history
  • Loading branch information
keith-hall committed Feb 17, 2016
1 parent 777df15 commit b5649f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpath.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ contexts: # NOTE: these scope names don't represent what they should, they are s
- include: main
- match: '{{Attribute}}'
scope: keyword.control.flow.xpath # Attribute
- match: '(comment|text|processing-instruction|node)\s*\(\)'
- match: '(comment|text|processing-instruction|node)\s*\(\s*\)'
scope: storage.type.xpath.node_type # NodeType
- match: '(?:\b(?<!/)|(?<=\d))(?:and|or|mod|div)(?:\b|(?=\d))|\*|\||\+|-|!?=|<=?|>=?'
scope: keyword.operator.xpath # Operator
Expand Down

0 comments on commit b5649f6

Please sign in to comment.