tree-sitter-vhs icon indicating copy to clipboard operation
tree-sitter-vhs copied to clipboard

Non-alphabetic control characters are missing syntax highlighting

Open austintraver opened this issue 1 year ago • 0 comments

Non-alphabetic characters do not have their control-character highlighted. This is the case with

  • CTRL+[
  • CTRL+@
  • CTRL+^
  • CTRL+]
  • CTRL+\
  • CTRL+-

The following section of the code is where the pattern would need to be adjusted, and I am uncertain if the implementation in charmbracelet/vhs currently supports inputting these six control-codes via the CTRL+<KEY> syntax.

https://github.com/charmbracelet/tree-sitter-vhs/blob/8a0df32b72a8cf8d3e3e84f16c19e9ba46d3dba5/src/grammar.json#L89-L92

austintraver avatar Dec 04 '22 00:12 austintraver