#
# HTML
#
Given vue (An unindented html template):
Hello
Do (Indent the whole buffer):
gg=G
Expect (The html template got indented):
Hello
Given vue (Template tag inside a template):
Loading...
Do (Indent the whole buffer):
gg=G
Expect (It didn't get unindented):
Loading...
#
# JavaScript
#
Given vue (An unindented JavaScript region):
Do (Indent the whole buffer):
gg=G
Expect vue (The JavaScript region got indented):
#
# CSS
#
Given vue (An unindented css region):
Do (Indent the whole buffer):
gg=G
Expect vue (The css region got indented):
#
# Pug
#
Given vue (Empty Pug region):
Do (Insert list items):
o
ul\
li Item A\
li Item B
Expect:
ul
li Item A
li Item B
#
# Stylus
#
Given vue (Empty Stylus region):
Do (Insert some styles):
o
body\
font-size: 14px\
\\
h1\
font-size: 30px\
display: block
Expect: