mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-09 20:14:55 +08:00
Remove debug message
This commit is contained in:
@@ -667,8 +667,8 @@ function! emmet#updateTag()
|
|||||||
return ''
|
return ''
|
||||||
endif
|
endif
|
||||||
let content = emmet#util#getContent(region)
|
let content = emmet#util#getContent(region)
|
||||||
|
let content = matchstr(content, '^<[^><]\+>')
|
||||||
if content !~ '^<[^><]\+>$'
|
if content !~ '^<[^><]\+>$'
|
||||||
echo string(content)
|
|
||||||
return ''
|
return ''
|
||||||
endif
|
endif
|
||||||
let current = emmet#lang#html#parseTag(content)
|
let current = emmet#lang#html#parseTag(content)
|
||||||
@@ -1395,6 +1395,7 @@ let s:emmet_settings = {
|
|||||||
\ },
|
\ },
|
||||||
\ 'html': {
|
\ 'html': {
|
||||||
\ 'snippets': {
|
\ 'snippets': {
|
||||||
|
\ '!': "html:5",
|
||||||
\ '!!!': "<!doctype html>",
|
\ '!!!': "<!doctype html>",
|
||||||
\ '!!!4t': "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
\ '!!!4t': "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
||||||
\ '!!!4s': "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">",
|
\ '!!!4s': "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">",
|
||||||
|
|||||||
Reference in New Issue
Block a user