mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 10:44:24 +08:00
check normal mode or not.
This commit is contained in:
@@ -780,8 +780,7 @@ function! zencoding#expandAbbr(mode) range
|
||||
" TODO: on windows, %z/%Z is 'Tokyo(Standard)'
|
||||
let expand = substitute(expand, '${datetime}', strftime("%Y-%m-%dT%H:%M:%S %z"), 'g')
|
||||
endif
|
||||
"if a:mode == 2
|
||||
if visualmode() ==# 'v'
|
||||
if a:mode != 0 && visualmode() ==# 'v'
|
||||
if a:firstline == a:lastline
|
||||
let expand = substitute(expand, '\n\s*', '', 'g')
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user