To expand abbreviation with script
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 6.5k
- Forks
- 414
- PR merge metrics
- No merged PRs in 30d
Description
The lines containing script and script:src in my snippets.json are as below.
script": "<script type=\"text/javascript\" src=\"\">",
"script:src": "<script src=\"\">",
Configuration in my .vimrc
let g:emmet_html5 = 0
Why script was expanded as
<script type="text/javascript"></script>
not as
<script type="text/javascript" src=""></script> ?
Is the way to expand script as
<script type="text/javascript" src=""></script> ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the script expansion with the snippets.json entries and .vimrc setting g:emmet_html5; inspect how the script abbreviation is selected. Done means either documenting the configuration that produces the requested src="" output or confirming the supported expansion behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, vim
- Domain
- frontend, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100