Skip to content

Commit f7836d6

Browse files
committed
Revert "fix ci and remove comments"
This reverts commit 32cb0db.
1 parent 32cb0db commit f7836d6

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

test/highlight/embedded.res

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1+
// NOT AN AUTOMATED TEST.
2+
//
3+
// Looks like Tree-sitter test framework does not allow to test
4+
// for correct language embedding. So, this file is just a showcase
5+
// to observe results with eyes.
6+
//
7+
// You should see comprehensive highlighting for constructs inside
8+
// strings. That is, they should not look like plain strings if
9+
// you have corresponding grammar installed.
10+
11+
// :TSInstall javascript
112
let inc = %raw(`function(x) {return x + 1;}`)
2-
// ^ keyword
3-
// ^ string
413

14+
// :TSInstall graphql
515
let gql = %graphql(`{ hero { name } }`)
6-
// ^ string
716

17+
// :TSInstall regex
818
let re = %re(`^[A-Z][a-z0-9]*$`)
9-
// ^ string

0 commit comments

Comments
 (0)