Skip to content

thndgonz/HTML-AutoCloseTag

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

This is a fork that just implements that header fix by [yms9654](vim-scripts#2)

##### Original text

Automatically closes HTML tag once you finish typing it with >. It is also smart enough to not autoclose tags when in a comment, when they are self-closing, or when they have already been closed.

So, <body id="foo">, upon typing >, will become <body id="foo">|</body>, where | is the cursor.
But, if you type <img src="bar.png">, the script knows to keep it the same.

About

Automatically closes HTML tags once you finish typing them.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 100.0%