1
0
Fork 0

fix surround binding

This commit is contained in:
Luca Bilke 2024-02-21 14:54:45 +01:00
parent e735cb264b
commit 67021df633
1 changed files with 1 additions and 1 deletions

View File

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