annotate runtime/compiler/shellcheck.vim @ 24735:e5beb841778d v8.2.2906

patch 8.2.2906: ASAN reports errors for test_startup Commit: https://github.com/vim/vim/commit/a5787c3742b43a8e662045a4e38c7a6ba957acbf Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 29 22:25:17 2021 +0200 patch 8.2.2906: ASAN reports errors for test_startup Problem: ASAN reports errors for test_startup for unknown reasons. Solution: Temporarily disable the new test.
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 May 2021 22:30:04 +0200
parents a3bb84cd0f59
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22441
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim compiler file
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Compiler: ShellCheck
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2020 Sep 4
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 if exists("current_compiler")
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 finish
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 endif
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 let current_compiler = "shellcheck"
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 command -nargs=* CompilerSet setlocal <args>
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 endif
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 let s:cpo_save = &cpo
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 set cpo&vim
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 CompilerSet makeprg=shellcheck\ -f\ gcc
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 CompilerSet errorformat=%f:%l:%c:\ %trror:\ %m\ [SC%n],
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 \%f:%l:%c:\ %tarning:\ %m\ [SC%n],
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 \%f:%l:%c:\ %tote:\ %m\ [SC%n],
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 \%-G%.%#
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 let &cpo = s:cpo_save
a3bb84cd0f59 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 unlet s:cpo_save