Skip to content

Commit

Permalink
fixup! 355: Support deleting/changing custom surrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
halostatue committed Aug 6, 2024
1 parent 7660752 commit 3ba4cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import/surround.vim
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ enddef
def CustomSurroundings(char: string, d: dict<any>, trim: bool): list<string>
var all = Process(get(d, printf('surround_%d', char2nr(char))))
var before = ExtractBefore(all)
var after = ExtractBefore(all)
var after = ExtractAfter(all)

return trim ? [trim(before), trim(after)] : [before, after]
enddef
Expand Down

0 comments on commit 3ba4cac

Please sign in to comment.