vim-polyglot/syntax/scss.vim

25 lines
497 B
VimL
Raw Normal View History

if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
" Vim syntax file
2013-09-13 10:25:34 -04:00
" Language: SCSS
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Filenames: *.scss
" Last Change: 2010 Jul 26
2013-09-13 10:25:34 -04:00
if exists("b:current_syntax")
finish
endif
2013-09-13 10:25:34 -04:00
runtime! syntax/sass.vim
2013-09-13 10:25:34 -04:00
syn match scssComment "//.*" contains=sassTodo,@Spell
syn region scssComment start="/\*" end="\*/" contains=sassTodo,@Spell
2013-09-13 10:25:34 -04:00
hi def link scssComment sassComment
2013-09-13 08:00:02 -04:00
let b:current_syntax = "scss"
2013-09-13 10:25:34 -04:00
" vim:set sw=2:
endif