Skip to content

Commit

Permalink
fix maps colour highlighting for ft=scss
Browse files Browse the repository at this point in the history
With the latest pulls from ap/vim-css-color, hail2u/vim-css3-syntax, and cakebaker/scss-syntax.vim, files with filetype=scss fail to highlight colours within maps. Setting filetype=sass fixes that, but breaks other syntax highlighting. Adding scssMap and scssMapValue to the SCSS attributes fixes it properly.
  • Loading branch information
Celti committed Jun 12, 2016
1 parent 782585d commit 4dfd1bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion after/syntax/scss.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>

call css_color#init('css', 'extended', 'scssAttribute,scssComment,scssVariableValue,sassCssAttribute,cssComment')
call css_color#init('css', 'extended', 'scssAttribute,scssComment,scssVariableValue,scssMap,scssMapValue,sassCssAttribute,cssComment')

0 comments on commit 4dfd1bc

Please sign in to comment.