From e4606fa2a3c5ed32a9452a12a809e3f8d98e00bf Mon Sep 17 00:00:00 2001 From: BBBoy01 <1156678002@qq.com> Date: Tue, 16 Apr 2024 12:33:22 +0800 Subject: [PATCH] feat: update surround config --- lua/plugins/coding.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index 2a98097..910031e 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -30,7 +30,11 @@ return { { 'echasnovski/mini.pairs', event = 'VeryLazy', - opts = {}, + opts = { + mappings = { + ['`'] = { action = 'closeopen', pair = '``', neigh_pattern = '[^\\`].', register = { cr = false } }, + }, + }, }, -- Fast and feature-rich surround actions. For text that includes