aboutsummaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-13 15:35:00 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-13 15:35:00 -0400
commiteac14c44aa4c9654332b18ff35e40b94c2cf0e5e (patch)
treebaf7979163c93b2f33edbd575fc15974abafe556 /editors/vim
parentd784a9cfb449b4dd9878713f6eb12a814142765f (diff)
Editor support for «»
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/autoload/bqn.txt2
-rw-r--r--editors/vim/keymap/bqn.vim2
-rw-r--r--editors/vim/syntax/bqn.vim2
3 files changed, 4 insertions, 2 deletions
diff --git a/editors/vim/autoload/bqn.txt b/editors/vim/autoload/bqn.txt
index 785bc281..1e63235b 100644
--- a/editors/vim/autoload/bqn.txt
+++ b/editors/vim/autoload/bqn.txt
@@ -57,6 +57,8 @@
↑ Prefixes ; Take
↓ Suffixes ; Drop
↕ Range ; Windows
+« Shift Before
+» Shift After
⌽ Reverse ; Rotate
⍉ Transpose ; Reorder axes
/ Indices ; Replicate
diff --git a/editors/vim/keymap/bqn.vim b/editors/vim/keymap/bqn.vim
index a8eb29b7..7a08aaba 100644
--- a/editors/vim/keymap/bqn.vim
+++ b/editors/vim/keymap/bqn.vim
@@ -11,7 +11,7 @@ let a.='zxcvbnm,./ ZXCVBNM<>? '
let b ='˜˘¨⁼⌜´˝7∞¯•÷× ¬⎉⚇⍟◶⊘⎊⍎⍕⟨⟩√⋆'
let b.='⌽𝕨∊↑∧y⊔⊏⊐π←→ ↙𝕎⍷𝕣⍋YU⊑⊒⍳⊣⊢ '
-let b.='⍉𝕤↕𝕗𝕘⊸∘○⟜⋄↩\ ↖𝕊D𝔽𝔾HJ⌾L·˙| '
+let b.='⍉𝕤↕𝕗𝕘⊸∘○⟜⋄↩\ ↖𝕊D𝔽𝔾«J⌾»·˙| '
let b.='⥊𝕩↓∨⌊n≡∾≍≠ Z𝕏C⍒⌈N≢≤≥? '
let[a,b]=map([a,b],{i,x->split(x,'\zs *')})
diff --git a/editors/vim/syntax/bqn.vim b/editors/vim/syntax/bqn.vim
index 466d2213..b75bbde8 100644
--- a/editors/vim/syntax/bqn.vim
+++ b/editors/vim/syntax/bqn.vim
@@ -12,7 +12,7 @@ syn match bqnarw "[←↩→]"
syn match bqnchr "'.'"
syn match bqn1md "[˙˜˘¨⌜⁼´˝`]"
syn match bqn2md "[∘○⊸⟜⌾⊘◶⎉⚇⍟⎊]"
-syn match bqnfun "[𝔽𝔾𝕎𝕏𝕊+\-×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍↑↓↕⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!⍕⍎]"
+syn match bqnfun "[𝔽𝔾𝕎𝕏𝕊+\-×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!⍕⍎]"
syn match bqnsub "[𝕗𝕘𝕨𝕩𝕤]"
syn match bqnnot "·"
syn match bqnnul "@"