mattn / mattn/emmet-vim

Config for new line per tag

Open
#378 4 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

This issue has been risen before, which has the serial number #362, and it has been solved.
But I find that that doesn't work for me and I'm really confused about that.
I use Vundle to manage my vim plugins and I just install the plugin without any configuration like that

Plugin 'mattn/emmet-vim'

when I try to expand the line below:

div>form[method=post]>label>div{Title}+input[type=text][name=title]

It comes out like that, some tags start in a new line while others not:

<form action="" method="post">
    <label for=""><div>Title</div><input type="text" name="title"></label>
</form>

what I want is to make each tag start in a new line like that:

<form action="" method="post">
    <label for="">
        <div>
            Title
        </div>
        <input type="text" name="title">
    </label>
</form>

So I'm wondering that if there are still some bugs uncovered.
Or what can I do to make this works?
A lot thanks.

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

Review issue #362 and the emmet-vim configuration or expansion path, then reproduce the reported Vundle setup with the supplied abbreviation. Compare the current expansion with the requested output and determine whether a configuration option or a bug is responsible; done means each nested tag is formatted on its own line.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, vim
Domain
tooling, web-dev
Issue type
Bug
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.