view runtime/compiler/shellcheck.vim @ 25798:2cae62d8628d v8.2.3434

patch 8.2.3434: function prototype for trigger_modechanged() is incomplete Commit: https://github.com/vim/vim/commit/28e591dd5080bbcd0f468f9d9597cedb716e28c9 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 12 21:00:14 2021 +0200 patch 8.2.3434: function prototype for trigger_modechanged() is incomplete Problem: Function prototype for trigger_modechanged() is incomplete. Solution: Add "void".
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Sep 2021 21:15:03 +0200
parents a3bb84cd0f59
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	ShellCheck
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2020 Sep 4

if exists("current_compiler")
  finish
endif
let current_compiler = "shellcheck"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo&vim

CompilerSet makeprg=shellcheck\ -f\ gcc
CompilerSet errorformat=%f:%l:%c:\ %trror:\ %m\ [SC%n],
		       \%f:%l:%c:\ %tarning:\ %m\ [SC%n],
		       \%f:%l:%c:\ %tote:\ %m\ [SC%n],
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save