view runtime/compiler/gjs.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 0db0640e16e0
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	GJS (Gnome JavaScript Bindings)
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2019 Jul 10

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

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=gjs
CompilerSet errorformat=%.%#JS\ %tRROR:\ %m\ @\ %f:%c,
		       \%E%.%#JS\ ERROR:\ %m,
		       \%Z@%f:%l:%c,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save