1
0
Fork 0

fix surround binding

This commit is contained in:
Luca Bilke 2024-02-21 14:54:45 +01:00
commit 67021df633

View file

@ -8,7 +8,7 @@ M.opts = {
["B"] = { ["B"] = {
add = { "{{ ", " }}" }, add = { "{{ ", " }}" },
find = function() find = function()
return require("nvim-surround.config").get_selection({ motion = "2a}" }) return require("nvim-surround.config").get_selection({ pattern = "{{ .- }}" })
end, end,
delete = "^(.. ?)().-( ?..)()$", delete = "^(.. ?)().-( ?..)()$",
}, },