xref: /vim-8.2.3635/runtime/compiler/sass.vim (revision 89bcfda6)
1" Vim compiler file
2" Compiler:	Sass
3" Maintainer:	Tim Pope <[email protected]>
4" Last Change:	2016 Aug 29
5
6if exists("current_compiler")
7  finish
8endif
9let current_compiler = "sass"
10
11if exists(":CompilerSet") != 2		" older Vim always used :setlocal
12  command -nargs=* CompilerSet setlocal <args>
13endif
14
15let s:cpo_save = &cpo
16set cpo-=C
17
18CompilerSet makeprg=sass
19
20CompilerSet errorformat=
21      \%f:%l:%m\ (Sass::Syntax%trror),
22      \%ESyntax\ %trror:%m,
23      \%C%\\s%\\+on\ line\ %l\ of\ %f,
24      \%Z%.%#,
25      \%-G%.%#
26
27let &cpo = s:cpo_save
28unlet s:cpo_save
29
30" vim:set sw=2 sts=2:
31