mattn / mattn/emmet-vim

Enhance html5 expansion?

Open
#422 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
6.5k
Forks
414
PR merge metrics
No merged PRs in 30d

Description

Both VS Code and Atom expand html5 (i.e. !) to the following:

<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>

</body>
</html>

However, emmet-vim (current master branch) expands to the lesser:

<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>

</body>
</html>

Can we have this expansion enhanced to the above?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue compares the current html5/! expansion in emmet-vim with expansions from VS Code and Atom. Start by locating the implementation of that expansion in the current master branch; done means it produces the shown HTML, including the viewport and X-UA-Compatible meta tags, and preserves the displayed structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, vim
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.