Skip to content

Commit

Permalink
add support to some new functions
Browse files Browse the repository at this point in the history
std.decodeUTF8
std.deepJoin
std.encodeUTF8
std.find
std.nativeExt
std.objectHasEx
std.parseHex
std.parseJson
std.parseOctal
std.trace
  • Loading branch information
gburiola committed Feb 21, 2019
1 parent 5bc444e commit e2c917e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jsonnet.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ contexts:
- match: \bstd[.](mantissa|map|mapWithIndex|mapWithKey|max|md5|mergePatch|min|mod)\b
scope: support.function.jsonnet

- match: \bstd[.](objectFields|objectFieldsAll|objectHas|objectHasAll|parseInt|pow|prune|range)\b
- match: \bstd[.](objectFields|objectFieldsAll|objectHas|objectHasAll|objectHasEx|parseHex|parseInt|parseJson|parseOctal|pow|prune|range)\b
scope: support.function.jsonnet

- match: \bstd[.](set|setDiff|setInter|setMember|setUnion|sign|sin|sort|split|splitLimit|sqrt)\b
Expand All @@ -45,7 +45,7 @@ contexts:
- match: \bstd[.](startsWith|stringChars|strReplace|substr|tan|toString|type|uniq)\b
scope: support.function.jsonnet

- match: \bstd[.](native|thisFile)\b
- match: \bstd[.](native|thisFile|decodeUTF8|deepJoin|encodeUTF8|find|nativeExt|trace)\b
scope: support.function.jsonnet

- match: \b[$]\b
Expand Down Expand Up @@ -89,7 +89,7 @@ contexts:

- match: '"'
push: string

- match: "\'"
push: single_string

Expand Down

0 comments on commit e2c917e

Please sign in to comment.