GH-159: don't use comma as alias for HTML/XML tags
This change allows us to surround text with commas.
This commit is contained in:
parent
772ab9587b
commit
5c6a64f333
@ -164,7 +164,7 @@ function! s:wrap(string,char,type,removed,special)
|
||||
elseif newchar ==# ':'
|
||||
let before = ':'
|
||||
let after = ''
|
||||
elseif newchar =~# "[tT\<C-T><,]"
|
||||
elseif newchar =~# "[tT\<C-T><]"
|
||||
let dounmapp = 0
|
||||
let dounmapb = 0
|
||||
if !maparg(">","c")
|
||||
@ -200,7 +200,7 @@ function! s:wrap(string,char,type,removed,special)
|
||||
let before = '<'.tag.attributes.'>'
|
||||
let after = '</'.substitute(tag,' .*','','').'>'
|
||||
endif
|
||||
if newchar == "\<C-T>" || newchar == ","
|
||||
if newchar == "\<C-T>"
|
||||
if type ==# "v" || type ==# "V"
|
||||
let before .= "\n\t"
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user