view runtime/compiler/jjs.vim @ 22081:2b9a2bc77b42 v8.2.1590

patch 8.2.1590: Vim9: bufnr() doesn't take "true" argument Commit: https://github.com/vim/vim/commit/fe136c9a85412f4bdb5de70ef8416af5fa382b28 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 4 18:35:26 2020 +0200 patch 8.2.1590: Vim9: bufnr() doesn't take "true" argument Problem: Vim9: bufnr() doesn't take "true" argument. Solution: use tv_get_bool_chk(). (closes https://github.com/vim/vim/issues/6863)
author Bram Moolenaar <Bram@vim.org>
date Fri, 04 Sep 2020 18:45:04 +0200
parents 0db0640e16e0
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Nashorn Shell
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2018 Jan 9

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

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=jjs
CompilerSet errorformat=%f:%l:%c\ %m,
		       \%f:%l\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save