diff options
author | Georgi Kirilov <> | 2022-12-03 15:03:33 +0800 |
---|---|---|
committer | Georgi Kirilov <> | 2023-10-04 18:24:59 +0800 |
commit | 6fe7be3267bb124786bed422738d5c76421cfc82 (patch) | |
tree | 3c9c70cc7ea496143db2ff86eaf5be32e1fd9dd1 | |
parent | adc9eecdb818d92077bb3d4450a9f5656e14111b (diff) | |
download | vis-pairs-6fe7be3267bb124786bed422738d5c76421cfc82.tar.gz |
disable autopairs in replace mode
until I find a way to fix it
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -422,6 +422,7 @@ vis.events.subscribe(vis.events.INIT, function() if M.autopairs then vis.events.subscribe(vis.events.INPUT, function(key) + if vis.mode == vis.modes.REPLACE then return end local win = vis.win if vis_parkour and vis_parkour(win) then return end local p = M.map[win.syntax] and M.map[win.syntax][key] |