search

Home  >  Q&A  >  body text

gvim - Does anyone have the CSS Indent file in vim that can be indented in @media?

Does anyone have the CSS Indent file in vim that can indent the

in @media?
@media (min-width: 992px) {

body{
   background:red;
}

}
大家讲道理大家讲道理2776 days ago649

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 16:42:43

    https://github.com/JulesWang/css.vim
    https://github.com/hail2u/vim-css3-syntax

    Just install the above two plug-ins and you’ll be done. If you use Vim 7.4+, you don’t need to install the first one, it will not affect it. If it is 7.3, it needs to be installed. The second one cannot do anything for 7.3.

    reply
    0
  • Cancelreply