Vim highlight

This commit is contained in:
Michael Zhang 2022-07-19 01:51:53 -05:00
parent 273a0dc63b
commit 3ff54b0f44
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
2 changed files with 9 additions and 2 deletions

View file

@ -6,7 +6,11 @@ sources:
- https://git.sr.ht/~mzhang/e0 - https://git.sr.ht/~mzhang/e0
secrets: secrets:
- 0b26b413-7901-41c3-a4e2-3c752228ffcb - 0b26b413-7901-41c3-a4e2-3c752228ffcb
environment:
CARGO_UNSTABLE_SPARSE_REGISTRY: "true"
tasks: tasks:
- setup: |
rustup default nightly
- test: | - test: |
cd e0 cd e0
cargo test --all cargo test --all

View file

@ -1,4 +1,7 @@
syntax keyword e0Conditional if else syntax keyword e0Conditional if else
syntax keyword e0PrimitiveType int syntax keyword e0PrimitiveType int
syntax keyword e0Function fn syntax keyword e0Function fn return
syntax keyword e0Statement return
highlight default link e0Conditional Conditional
highlight default link e0PrimitiveType Type
highlight default link e0Function Keyword