mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-08 19:44:47 +08:00
fixed indent.
This commit is contained in:
@@ -1332,7 +1332,7 @@ function! s:zen_expandAbbr(mode) range
|
|||||||
endif
|
endif
|
||||||
if line[:-len(part)-1] =~ '^\s\+$'
|
if line[:-len(part)-1] =~ '^\s\+$'
|
||||||
let size = (len(line) - len(part)) / len(s:zen_settings.indentation)
|
let size = (len(line) - len(part)) / len(s:zen_settings.indentation)
|
||||||
let indent = line[:-len(part)-1] . repeat(s:zen_settings.indentation, size)
|
let indent = repeat(s:zen_settings.indentation, size)
|
||||||
else
|
else
|
||||||
let indent = ''
|
let indent = ''
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user