fix surround binding
This commit is contained in:
parent
e735cb264b
commit
67021df633
|
@ -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 = "^(.. ?)().-( ?..)()$",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue