]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/syntax_checkers/scss.vim
d3ae5e790343742c67a773485ac9c26000d0ced3
[rbdr/dotfiles] / vim / syntax_checkers / scss.vim
1
2 "============================================================================
3 "File: scss.vim
4 "Description: scss syntax checking plugin for syntastic
5 "Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
6 "License: This program is free software. It comes without any warranty,
7 " to the extent permitted by applicable law. You can redistribute
8 " it and/or modify it under the terms of the Do What The Fuck You
9 " Want To Public License, Version 2, as published by Sam Hocevar.
10 " See http://sam.zoy.org/wtfpl/COPYING for more details.
11 "
12 "============================================================================
13 if exists("loaded_scss_syntax_checker")
14 finish
15 endif
16 let loaded_scss_syntax_checker = 1
17
18 "bail if the user doesnt have the sass binary installed
19 if !executable("sass")
20 finish
21 endif
22
23 runtime syntax_checkers/sass.vim
24
25 function! SyntaxCheckers_scss_GetLocList()
26 return SyntaxCheckers_sass_GetLocList()
27 endfunction