aboutsummaryrefslogtreecommitdiff
path: root/editors/kak
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-06 17:20:05 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-06 17:20:05 -0500
commit0106c2650d11594331234250e051edf89516f366 (patch)
tree8c1084da1a18b24d3cb25ab3d0994a02727cf06b /editors/kak
parent3ee71e0cf36533e0ec021b979efc6a225f5f1ee4 (diff)
Handle namespace dot in editor scripts
Diffstat (limited to 'editors/kak')
-rw-r--r--editors/kak/autoload/filetype/bqn.kak1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/kak/autoload/filetype/bqn.kak b/editors/kak/autoload/filetype/bqn.kak
index 3a3d0bae..ccaca1f4 100644
--- a/editors/kak/autoload/filetype/bqn.kak
+++ b/editors/kak/autoload/filetype/bqn.kak
@@ -67,6 +67,7 @@ add-highlighter shared/bqn/code/ regex "[←⇐↩→]" 0:normal
add-highlighter shared/bqn/code/ regex "·" 0:value
add-highlighter shared/bqn/code/ regex "@" 0:string
add-highlighter shared/bqn/code/ regex "(?<![A-Z_a-z0-9π∞¯])¯?((\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 "[𝕗𝕘𝕨𝕩𝕤]" 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