diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-08-27 10:37:36 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-08-27 10:37:36 -0400 |
| commit | d9a037d96dfec21ad83f29658c185e37657b633a (patch) | |
| tree | 4b1a4773057da8955c909b0061bb8f0f666d9510 /editors/kak | |
| parent | 4246126c9e34c15a812da76d33d2a18cfeee4aa1 (diff) | |
Allow special numeric characters in identifiers in editor syntax highlighting
Diffstat (limited to 'editors/kak')
| -rw-r--r-- | editors/kak/autoload/filetype/bqn.kak | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/kak/autoload/filetype/bqn.kak b/editors/kak/autoload/filetype/bqn.kak index 0449a1d5..03225a75 100644 --- a/editors/kak/autoload/filetype/bqn.kak +++ b/editors/kak/autoload/filetype/bqn.kak @@ -67,13 +67,13 @@ add-highlighter shared/bqn/code/ regex "[←↩→]" 0:normal add-highlighter shared/bqn/code/ regex "·" 0:value add-highlighter shared/bqn/code/ regex "¯?\b((\d+\.)?\d+(e¯?\d+)?|π|∞)(i¯?((\d+\.)?\d+(e¯?\d+)?|π|∞))?" 0:value add-highlighter shared/bqn/code/ regex "[𝕗𝕘𝕨𝕩𝕤]" 0:normal -add-highlighter shared/bqn/code/ regex "•|•?\b[a-z][A-Z_a-z0-9]*|𝕣" 0:normal +add-highlighter shared/bqn/code/ regex "•|•?\b[a-z][A-Z_a-z0-9π∞¯]*|𝕣" 0:normal add-highlighter shared/bqn/code/ regex "[𝔽𝔾𝕎𝕏𝕊+\-×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍↑↓↕⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!⍕⍎]" 0:green -add-highlighter shared/bqn/code/ regex "•?\b[A-Z][A-Z_a-z0-9]*" 0:green +add-highlighter shared/bqn/code/ regex "•?\b[A-Z][A-Z_a-z0-9π∞¯]*" 0:green add-highlighter shared/bqn/code/ regex "[˜˘¨⌜⁼´˝`]" 0:magenta -add-highlighter shared/bqn/code/ regex "•?\b_[A-Za-z][A-Z_a-z0-9]*|_𝕣" 0:magenta +add-highlighter shared/bqn/code/ regex "•?\b_[A-Za-z][A-Z_a-z0-9π∞¯]*|_𝕣" 0:magenta add-highlighter shared/bqn/code/ regex "[∘○⊸⟜⌾⊘◶⎉⚇⍟⎊]" 0:yellow -add-highlighter shared/bqn/code/ regex "•?\b_[A-Za-z][A-Z_a-z0-9]*_|_𝕣_" 0:yellow +add-highlighter shared/bqn/code/ regex "•?\b_[A-Za-z][A-Z_a-z0-9π∞¯]*_|_𝕣_" 0:yellow # Commands # ‾‾‾‾‾‾‾‾ |
