mattn / mattn/emmet-vim

Expand only HTML tags.

Open
#480 2 comments 0 reactions 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

I'm trying to expand only Html tags. For example div<c-y>, should be expanded to

<div></div>

But abc<c-y>, should not be expanded. By default emmet expands every word, I wonder if there's a setting to expand only html tags. Any help would be much appreciated.

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 names no file or test. Start by reviewing emmet-vim's expansion settings and documentation for HTML-tag filtering, then reproduce the two examples from the report. Done means HTML tags such as div expand while plain text such as abc does not.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.