Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jan 11, 2024
1 parent ece4161 commit 62a04cf
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions test/highlight/injections.just
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Injection highlighting shows up as none during tests
localhost := `if [ -f "foo" ]; then; echo hi; fi`
# <- variable
# ^^ operator
# ^ punctuation.special
# ^ punctuation.special

# interpolation within injection
foo := `[ {{ dir(localhost) }} = "hi" ] && "bye"`
# <- variable
# ^^ operator
# ^ punctuation.special
# ^^ punctuation.bracket
# ^^^ function
# ^ punctuation.bracket
# ^^^^^^^^^ variable
# ^ punctuation.bracket
# ^^ punctuation.bracket
# ^ punctuation.special

stuff := ```
echo foo
echo bar
```
# <- punctuation.special

# These have to be verified manually, no automated tests are available




0 comments on commit 62a04cf

Please sign in to comment.