2015-07-18 17:05:45 -04:00
|
|
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
|
|
|
|
|
Add support for basic languages
coffee, cucumbeer, eruby, haml, haskell, javascript,
json, less, nginx, ocaml, ruby, sass, scss, slim,
stylus, textile, tmux
2013-09-12 10:17:03 -04:00
|
|
|
" 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
|
Add support for basic languages
coffee, cucumbeer, eruby, haml, haskell, javascript,
json, less, nginx, ocaml, ruby, sass, scss, slim,
stylus, textile, tmux
2013-09-12 10:17:03 -04:00
|
|
|
|
2013-09-13 10:25:34 -04:00
|
|
|
if exists("b:current_syntax")
|
|
|
|
finish
|
Add support for basic languages
coffee, cucumbeer, eruby, haml, haskell, javascript,
json, less, nginx, ocaml, ruby, sass, scss, slim,
stylus, textile, tmux
2013-09-12 10:17:03 -04:00
|
|
|
endif
|
|
|
|
|
2013-09-13 10:25:34 -04:00
|
|
|
runtime! syntax/sass.vim
|
Add support for basic languages
coffee, cucumbeer, eruby, haml, haskell, javascript,
json, less, nginx, ocaml, ruby, sass, scss, slim,
stylus, textile, tmux
2013-09-12 10:17:03 -04:00
|
|
|
|
2013-09-13 10:25:34 -04:00
|
|
|
syn match scssComment "//.*" contains=sassTodo,@Spell
|
|
|
|
syn region scssComment start="/\*" end="\*/" contains=sassTodo,@Spell
|
Add support for basic languages
coffee, cucumbeer, eruby, haml, haskell, javascript,
json, less, nginx, ocaml, ruby, sass, scss, slim,
stylus, textile, tmux
2013-09-12 10:17:03 -04:00
|
|
|
|
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:
|
2015-07-18 17:05:45 -04:00
|
|
|
|
|
|
|
endif
|