fix surround binding
This commit is contained in:
parent
e735cb264b
commit
67021df633
1 changed files with 1 additions and 1 deletions
|
@ -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 = "^(.. ?)().-( ?..)()$",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue