mirror of
https://github.com/tpope/vim-surround.git
synced 2026-09-10 07:16:17 -04:00
Add : replacement
Both Ruby and Clojure use :keywords, so I'm considering this general enough to make a default.
This commit is contained in:
parent
1c9d8e660c
commit
29afa295ae
|
|
@ -162,6 +162,9 @@ function! s:wrap(string,char,type,...)
|
|||
elseif newchar ==# 's'
|
||||
let before = ' '
|
||||
let after = ''
|
||||
elseif newchar ==# ':'
|
||||
let before = ':'
|
||||
let after = ''
|
||||
elseif newchar =~# "[tT\<C-T><,]"
|
||||
let dounmapp = 0
|
||||
let dounmapb = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue