aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-02 21:53:47 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-02 22:03:41 -0400
commit7c00f3d8cebd01591dbb913b084d8494d42a2dd2 (patch)
tree977391180e8539eda08d028ecfa0bc665251d072 /editors
parentf28b37aa309ae88efb2cedda228af3ca8ce114a0 (diff)
Add constant 1-modifier Λ™
Diffstat (limited to 'editors')
-rw-r--r--editors/kak/autoload/filetype/bqn.kak2
-rw-r--r--editors/vim/autoload/bqn.txt1
-rw-r--r--editors/vim/syntax/bqn.vim2
3 files changed, 3 insertions, 2 deletions
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 "[π•—π•˜π•¨π•©π•€]"