mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-10 07:15:48 +08:00
<!DOCTYPE> should be contains last \n
This commit is contained in:
1 parent
9480824c0f
commit
cd23a38f2b
3 files changed
+10
-9
No files matched your search
@@ -120,7 +120,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type)
|
||||
if use_pipe_for_cursor
|
||||
let snippet = substitute(snippet, '|', '${cursor}', 'g')
|
||||
endif
|
||||
let lines = split(snippet, "\n")
|
||||
let lines = split(snippet, "\n", 1)
|
||||
call map(lines, 'substitute(v:val, "\\( \\|\\t\\)", escape(indent, "\\\\"), "g")')
|
||||
let current.snippet = join(lines, "\n")
|
||||
let current.name = ''
|
||||
|
||||
Reference in new issue
Block a user