cakebaker / scss-syntax.vim

Vim syntax file for scss (Sassy CSS)
386 stars 71 forks source link

viewport units are not highlighted #58

Closed joseluis closed 9 years ago

joseluis commented 9 years ago

e.g.:

div {
  height: 1vh;
  max-height: 3vw;
  width: auto;
  max-width: 2vmin;
  min-width: 1vmax;
}
cakebaker commented 9 years ago

This is an issue with css.vim (on which the SCSS syntax file relies for the CSS stuff) and I opened a pull request there (https://github.com/JulesWang/css.vim/pull/52).

As a workaround you could also use a CSS3 plugin like https://github.com/hail2u/vim-css3-syntax