mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-15 23:07:07 +08:00
<!DOCTYPE> should be contains last \n
This commit is contained in:
@@ -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