aboutsummaryrefslogtreecommitdiff
path: root/editors/vim/syntax/bqn.vim
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-08-27 10:37:36 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-08-27 10:37:36 -0400
commitd9a037d96dfec21ad83f29658c185e37657b633a (patch)
tree4b1a4773057da8955c909b0061bb8f0f666d9510 /editors/vim/syntax/bqn.vim
parent4246126c9e34c15a812da76d33d2a18cfeee4aa1 (diff)
Allow special numeric characters in identifiers in editor syntax highlighting
Diffstat (limited to 'editors/vim/syntax/bqn.vim')
-rw-r--r--editors/vim/syntax/bqn.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/vim/syntax/bqn.vim b/editors/vim/syntax/bqn.vim
index cbd71386..63755a3f 100644
--- a/editors/vim/syntax/bqn.vim
+++ b/editors/vim/syntax/bqn.vim
@@ -16,10 +16,10 @@ syn match bqnfun "[π”½π”Ύπ•Žπ•π•Š+\-Γ—Γ·β‹†βˆšβŒŠβŒˆ|¬∧∨<>β‰ =≀β‰₯β
syn match bqnsub "[π•—π•˜π•¨π•©π•€]"
syn match bqnnot "Β·"
syn match bqnnum "\v\cΒ―?((\d+\.)?\d+(eΒ―?\d+)?|Ο€|∞)(iΒ―?((\d+\.)?\d+(eΒ―?\d+)?|Ο€|∞))?"
-syn match bqnsid "\(β€’\|β€’\?[a-z][A-Z_a-z0-9]*\|𝕣\)"
-syn match bqnfid "β€’\?[A-Z][A-Z_a-z0-9]*"
-syn match bqn1id "\(β€’\?_[A-Za-z][A-Z_a-z0-9]*\|_𝕣\)"
-syn match bqn2id "\(β€’\?_[A-Za-z][A-Z_a-z0-9]*_\|_𝕣_\)"
+syn match bqnsid "\(β€’\|β€’\?[a-z][A-Z_a-z0-9Ο€βˆžΒ―]*\|𝕣\)"
+syn match bqnfid "β€’\?[A-Z][A-Z_a-z0-9Ο€βˆžΒ―]*"
+syn match bqn1id "\(β€’\?_[A-Za-z][A-Z_a-z0-9Ο€βˆžΒ―]*\|_𝕣\)"
+syn match bqn2id "\(β€’\?_[A-Za-z][A-Z_a-z0-9Ο€βˆžΒ―]*_\|_𝕣_\)"
syn match bqncom "#.*$"
syn match bqnquo /""/ contained
syn region bqnstr matchgroup=bqnstr start=/"/ end=/"/ contains=bqnquo