mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-23 02:41:28 +08:00
Add meta tag for responsiviness
The usual `html:5_` snippet does not have the meta tag with the contents `name="viewport" content="width=device-width, initial-scale=1"`, which allows the website to be responsive.
This commit is contained in:
@@ -1737,6 +1737,7 @@ let s:emmet_settings = {
|
||||
\ ."<html lang=\"${lang}\">\n"
|
||||
\ ."<head>\n"
|
||||
\ ."\t<meta charset=\"${charset}\">\n"
|
||||
\ ."\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n"
|
||||
\ ."\t<title></title>\n"
|
||||
\ ."</head>\n"
|
||||
\ ."<body>\n\t${child}|\n</body>\n"
|
||||
|
||||
Reference in New Issue
Block a user