messy css indentation in vim
Posted
by hasen j
on Stack Overflow
See other posts from Stack Overflow
or by hasen j
Published on 2009-12-16T03:48:27Z
Indexed on
2010/05/11
3:04 UTC
Read the original article
Hit count: 336
When editing an html file in vim, the indentation for css inside style
tags is messy.
For instance, this is how it would indent this sample css code without any manual intervention to fix the indentation on my part:
div.class
{
color: white;
backgroung-color: black;
}
Why is this happening? how can I fix it?
© Stack Overflow or respective owner