mirror of
https://github.com/tpope/vim-surround.git
synced 2025-11-12 05:13:51 -05: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user