Open pinpox opened 1 year ago
Hey, is there a way to syntax-highlitht scripts in multi-line comments? E.g. I have yaml files like this:
- foo: - bar: [ "baz" ] - this: - | #!/bin/sh echo "test" $(var) cat /dev/null
And would ilke the string to be highlighted with bash highlighting. I think this is referred to as injected or fenced languages in tree-sitter (reference)
Hey, is there a way to syntax-highlitht scripts in multi-line comments? E.g. I have yaml files like this:
And would ilke the string to be highlighted with bash highlighting. I think this is referred to as injected or fenced languages in tree-sitter (reference)