highlight keywords
This commit is contained in:
parent
99bd6d421d
commit
dab6b3d09e
|
@ -16,6 +16,7 @@ repository:
|
||||||
- include: "#string"
|
- include: "#string"
|
||||||
- include: "#block"
|
- include: "#block"
|
||||||
- include: "#function-call"
|
- include: "#function-call"
|
||||||
|
- include: "#keywords"
|
||||||
let:
|
let:
|
||||||
match: ^\s*(\w+)\s*=
|
match: ^\s*(\w+)\s*=
|
||||||
captures:
|
captures:
|
||||||
|
@ -78,6 +79,9 @@ repository:
|
||||||
name: punctuation.definition.block.squiggle
|
name: punctuation.definition.block.squiggle
|
||||||
patterns:
|
patterns:
|
||||||
- include: "$self"
|
- include: "$self"
|
||||||
|
keywords:
|
||||||
|
match: \b(if|then|else|to)\b
|
||||||
|
name: keyword.control.squiggle
|
||||||
integer:
|
integer:
|
||||||
match: \b\d+([_a-zA-Z]+[_a-zA-Z0-9]*)?
|
match: \b\d+([_a-zA-Z]+[_a-zA-Z0-9]*)?
|
||||||
name: constant.numeric.integer.squiggle
|
name: constant.numeric.integer.squiggle
|
||||||
|
|
Loading…
Reference in New Issue
Block a user