From 7c00f3d8cebd01591dbb913b084d8494d42a2dd2 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 2 Sep 2020 21:53:47 -0400 Subject: =?UTF-8?q?Add=20constant=201-modifier=20=CB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editors/kak/autoload/filetype/bqn.kak | 2 +- editors/vim/autoload/bqn.txt | 1 + editors/vim/syntax/bqn.vim | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'editors') diff --git a/editors/kak/autoload/filetype/bqn.kak b/editors/kak/autoload/filetype/bqn.kak index 6882a34f..ea53c812 100644 --- a/editors/kak/autoload/filetype/bqn.kak +++ b/editors/kak/autoload/filetype/bqn.kak @@ -70,7 +70,7 @@ 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 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 "[Λ™ΛœΛ˜Β¨βŒœβΌΒ΄Λ`]" 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 diff --git a/editors/vim/autoload/bqn.txt b/editors/vim/autoload/bqn.txt index ee70b684..27fb10bf 100644 --- a/editors/vim/autoload/bqn.txt +++ b/editors/vim/autoload/bqn.txt @@ -69,6 +69,7 @@ ⍷ Deduplicate ; Find βŠ” Group Indices ; Group ! Assert ; Assert with message +Λ™ Constant | {𝕩⋄𝕗} | Return a function that returns the operand ˜ Self/Swap | {π•©π”½π•¨βŠ£π•©} | Duplicate one argument or exchange two ∘ Atop | {𝔽𝕨𝔾𝕩} | Apply 𝔾 to both arguments and 𝔽 to the result β—‹ Over | {(𝔾𝕨)𝔽𝔾𝕩} | Apply 𝔾 to each argument and 𝔽 to the results diff --git a/editors/vim/syntax/bqn.vim b/editors/vim/syntax/bqn.vim index 63755a3f..b1255028 100644 --- a/editors/vim/syntax/bqn.vim +++ b/editors/vim/syntax/bqn.vim @@ -10,7 +10,7 @@ syn match bqnhed "[:;]" syn match bqnsep "[β‹„,]" syn match bqnarw "[←↩→]" syn match bqnchr "'.'" -syn match bqn1md "[˜˘¨⌜⁼´˝`]" +syn match bqn1md "[Λ™ΛœΛ˜Β¨βŒœβΌΒ΄Λ`]" syn match bqn2md "[βˆ˜β—‹βŠΈβŸœβŒΎβŠ˜β—ΆβŽ‰βš‡βŸβŽŠ]" syn match bqnfun "[π”½π”Ύπ•Žπ•π•Š+\-Γ—Γ·β‹†βˆšβŒŠβŒˆ|¬∧∨<>β‰ =≀β‰₯β‰‘β‰’βŠ£βŠ’β₯ŠβˆΎβ‰β†‘β†“β†•βŒ½β‰/β‹β’βŠβŠ‘βŠβŠ’βˆŠβ·βŠ”!β•βŽ]" syn match bqnsub "[π•—π•˜π•¨π•©π•€]" -- cgit v1.2.3