aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/init.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index a6c6122..260f4a3 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -1743,7 +1743,24 @@ F['operator#sandwich#set']('add', 'all', 'highlight', 2)
F['operator#sandwich#set']('delete', 'all', 'highlight', 0)
F['operator#sandwich#set']('replace', 'all', 'highlight', 2)
+do
+ local rs = F['sandwich#get_recipes']()
+ rs[#rs+1] = {
+ buns = {'「', '」'},
+ input = {'j[', 'j]'},
+ }
+ rs[#rs+1] = {
+ buns = {'『', '』'},
+ input = {'j{', 'j}'},
+ }
+ rs[#rs+1] = {
+ buns = {'【', '】'},
+ input = {'j(', 'j)'},
+ }
+
+ G['sandwich#recipes'] = rs
+end