feat: pres
This commit is contained in:
parent
76dc461d44
commit
54801d18f0
4 changed files with 989 additions and 0 deletions
36
doc/zelus.sublime-syntax
Normal file
36
doc/zelus.sublime-syntax
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
name: Zelus
|
||||
file_extensions: [zls, zli]
|
||||
scope: source
|
||||
|
||||
contexts:
|
||||
main:
|
||||
- match: \b(let|in|where|rec|and|local)\b
|
||||
scope: keyword.control
|
||||
|
||||
- match: \b(if|then|else)\b
|
||||
scope: keyword.control.conditional
|
||||
|
||||
- match: \b(hybrid|node)\b
|
||||
scope: keyword.control
|
||||
|
||||
- match: \b(up|assert|der|init|reset|last)\b
|
||||
scope: entity.name.constant
|
||||
|
||||
- match: '"'
|
||||
push: string
|
||||
- match: \(\*
|
||||
push: comment
|
||||
|
||||
string:
|
||||
- meta_scope: string.quoted.double
|
||||
- match: \\.
|
||||
scope: constant.character.escape
|
||||
- match: '"'
|
||||
pop: true
|
||||
|
||||
comment:
|
||||
- meta_scope: comment
|
||||
- match: \*\)
|
||||
pop: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue