Browse files

update css_Color

  • Loading branch information...
1 parent 3333cc2 commit 2d9d803ad741628fb2c4ca0842c20f8e0dbad9c3 @bleything committed Sep 23, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −2 bundle/css_color/after/syntax/css.vim
  2. +1 −0 bundle/css_color/after/syntax/sass.vim
View
3 bundle/css_color/after/syntax/css.vim
@@ -115,7 +115,7 @@ if has("gui_running") || &t_Co==256
\ [ 0x00, 0xFF, 0xFF ],
\ [ 0xFF, 0xFF, 0xFF ]]
- for c in range(0, len(s:xtermcolor))
+ for c in range(0, len(s:xtermcolor) - 1)
let s:xtermcolor[c] += [c]
endfor
@@ -340,5 +340,4 @@ if has("gui_running") || &t_Co==256
autocmd CursorMoved * silent call s:PreviewCSSColorInLine()
autocmd CursorMovedI * silent call s:PreviewCSSColorInLine()
- autocmd FileType sass,scss,stylus syn cluster sassCssAttributes add=@cssColors
endif
View
1 bundle/css_color/after/syntax/sass.vim
@@ -0,0 +1 @@
+syn cluster sassCssAttributes add=@cssColors

0 comments on commit 2d9d803

Please sign in to comment.