diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-09-02 21:53:47 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-09-02 22:03:41 -0400 |
| commit | 7c00f3d8cebd01591dbb913b084d8494d42a2dd2 (patch) | |
| tree | 977391180e8539eda08d028ecfa0bc665251d072 /editors | |
| parent | f28b37aa309ae88efb2cedda228af3ca8ce114a0 (diff) | |
Add constant 1-modifier Λ
Diffstat (limited to 'editors')
| -rw-r--r-- | editors/kak/autoload/filetype/bqn.kak | 2 | ||||
| -rw-r--r-- | editors/vim/autoload/bqn.txt | 1 | ||||
| -rw-r--r-- | editors/vim/syntax/bqn.vim | 2 |
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 "[πππ¨π©π€]" |
