Skip to content

Commit

Permalink
fix #188: silent! nunmap for surround mapping (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbwo committed Oct 26, 2023
1 parent 724bd53 commit aec289a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/vm/ecmds2.vim
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fun! s:Edit.surround() abort
endif
endif

nunmap <buffer> S
silent! nunmap <buffer> S

call self.run_visual('S'.c, 1)
if index(['[', '{', '('], c) >= 0
Expand Down

0 comments on commit aec289a

Please sign in to comment.