Skip to content

Commit

Permalink
Improve IP highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
skozlovf committed May 15, 2016
1 parent 829259d commit 5f12fda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GenericConfig.sublime-syntax
Expand Up @@ -20,6 +20,9 @@ contexts:
comment: ; one line comment
scope: comment.line.number-sign.genconfig

- match: \b(?:\d+\.){3}\d+(?:\:\d+)?\b
scope: meta.ip.genconfig constant.other.genconfig

- match: \b[0-9]+([a-zA-Z]+)?\b
comment: Number or number with unit (like 10k, 12M, 92dpi etc) and also hex like values 0xdf
scope: constant.numeric.genconfig
Expand Down

0 comments on commit 5f12fda

Please sign in to comment.