From e51a0ae2ca235b004657d6002d84e3d29fa6ebc3 Mon Sep 17 00:00:00 2001 From: rhiannon morris Date: Tue, 15 Mar 2022 15:38:47 +0100 Subject: [PATCH] highlight the whole of system functions --- syntax/bqn.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/syntax/bqn.vim b/syntax/bqn.vim index 14c8583..9e37f29 100644 --- a/syntax/bqn.vim +++ b/syntax/bqn.vim @@ -18,26 +18,26 @@ 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\|¯\)*\%([˜˘¨˝˙]\|\>\)\@=/ hi def link bqnSubject Normal -syn match bqnSystem /•\%(\l\%(\w\|¯\)*\%(\>\|\.\@=\)\)\?/ +syn match bqnSystem /•\%(\%(\w\|¯\)\+\%(\>\|\.\@=\)\)\?/ hi def link bqnSystem Macro syn match bqnSpecialName /[𝕨𝕎𝕩𝕏𝕗𝔽𝕘𝔾𝕤𝕊]\|_𝕣_\?/