diff --git a/syntax/bqn.vim b/syntax/bqn.vim index f635706..38037db 100644 --- a/syntax/bqn.vim +++ b/syntax/bqn.vim @@ -18,23 +18,23 @@ hi def link bqnDelim Delimiter syn match bqnOp "[-¬!√÷+=⋆×⌽∊⍷↑⍋∧⊔⊑⊏⊒⊐⊣⊢|⍉↕«»⋈⥊↓⍒∨⌈⌊≢≡<≤∾>≥≍/≠]" hi def link bqnOp Function -syn match bqnNameOp /\%(\<\|\%(•\|\.\)\@<=\)\u\%(\w\|¯\)*\>/ +syn match bqnNameOp /\%(\<\|\%(•\|\.\)\@<=\)\u\%(\w\|¯\)*\%([˜˘¨˝˙]\|\>\)\@=/ hi def link bqnNameOp bqnOp syn match bqnMod1 /[`˜˘¨⁼⌜´˝˙]/ hi def link bqnMod1 Typedef -syn match bqnNameMod1 /\%(\<\|\%(•\|\.\)\@<=\)_\%(\w\|¯\)\+\>/ +syn match bqnNameMod1 /\%(\<\|\%(•\|\.\)\@<=\)_\%(\w\|¯\)\+\%([˜˘¨˝˙]\|\>\)\@=/ hi def link bqnNameMod1 bqnMod1 syn match bqnMod2 /[⎉⚇⍟◶⊘⎊⊸∘○⌾⟜]/ hi def link bqnMod2 Keyword -syn match bqnNameMod2 /\%(\<\|\%(•\|\.\)\@<=\)_\%(\w\|¯\)\+_\>/ +syn match bqnNameMod2 /\%(\<\|\%(•\|\.\)\@<=\)_\%(\w\|¯\)\+_\%([˜˘¨˝˙]\|\>\)\@=/ hi def link bqnNameMod2 bqnMod2 " system subjects highlighted different -syn match bqnSubject /\%(\<\|\.\@<=\)\l\%(\w\|¯\)*\>/ +syn match bqnSubject /\%(\<\|\.\@<=\)\l\%(\w\|¯\)*\%([˜˘¨˝˙]\|\>\)\@=/ hi def link bqnSubject Normal syn match bqnSystem /•\%(\l\%(\w\|¯\)*\%(\>\|\.\@=\)\)\?/