We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32cb0db commit f7836d6Copy full SHA for f7836d6
test/highlight/embedded.res
@@ -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
12
let inc = %raw(`function(x) {return x + 1;}`)
-// ^ keyword
-// ^ string
13
14
+// :TSInstall graphql
15
let gql = %graphql(`{ hero { name } }`)
16
17
+// :TSInstall regex
18
let re = %re(`^[A-Z][a-z0-9]*$`)
0 commit comments