tlaplus-community / tree-sitter-tlaplus

A tree-sitter grammar for TLA⁺ and PlusCal
MIT License
57 stars 10 forks source link

Expose string escape chars for highlighting purposes #28

Closed ahelwer closed 3 years ago

ahelwer commented 3 years ago

nvim-treesitter supports a @string.escape capture. It is often useful to highlight escaped characters in strings.

ahelwer commented 3 years ago

Related: https://github.com/tree-sitter/tree-sitter/issues/474

ahelwer commented 3 years ago

Possibly also break up binary/octal/hex numbers to highlight indicator sequence differently.