annotate runtime/compiler/sass.vim @ 29163:9288c636ffa5 v8.2.5101

patch 8.2.5101: MS-Windows with MinGW: $CC may be "cc" instead of "gcc" Commit: https://github.com/vim/vim/commit/cf65d88ff844f042337dfd043e6e98f3b9270577 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Wed Jun 15 18:31:45 2022 +0100 patch 8.2.5101: MS-Windows with MinGW: $CC may be "cc" instead of "gcc" Problem: MS-Windows with MinGW: $CC may be "cc" instead of "gcc". Solution: Set $CC if it is not matching "clang". (Yegappan Lakshmanan, closes #10578)
author Bram Moolenaar <Bram@vim.org>
date Wed, 15 Jun 2022 19:45:04 +0200
parents 43efa4f5a8ea
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4780
2b11ac90d9e9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4681
diff changeset
1 " Vim compiler file
2b11ac90d9e9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4681
diff changeset
2 " Compiler: Sass
2b11ac90d9e9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4681
diff changeset
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 4780
diff changeset
4 " Last Change: 2016 Aug 29
4780
2b11ac90d9e9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4681
diff changeset
5
4681
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 if exists("current_compiler")
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 finish
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 endif
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 let current_compiler = "sass"
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 command -nargs=* CompilerSet setlocal <args>
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 endif
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 let s:cpo_save = &cpo
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 set cpo-=C
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 4780
diff changeset
18 CompilerSet makeprg=sass
4681
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 CompilerSet errorformat=
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 \%f:%l:%m\ (Sass::Syntax%trror),
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 \%ESyntax\ %trror:%m,
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 \%C%\\s%\\+on\ line\ %l\ of\ %f,
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 \%Z%.%#,
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 \%-G%.%#
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 let &cpo = s:cpo_save
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 unlet s:cpo_save
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29
2eb30f341e8d Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
30 " vim:set sw=2 sts=2: