view runtime/compiler/tsc.vim @ 25128:3766babfb546 v8.2.3101

patch 8.2.3101: missing function prototype for vim_round() Commit: https://github.com/vim/vim/commit/67b17a6fc62156383d24dcbd6e6df34e180d7235 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 4 16:50:55 2021 +0200 patch 8.2.3101: missing function prototype for vim_round() Problem: Missing function prototype for vim_round(). Solution: Add the prototype.
author Bram Moolenaar <Bram@vim.org>
date Sun, 04 Jul 2021 17:00:05 +0200
parents 0db0640e16e0
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	TypeScript Compiler
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2020 Feb 10

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

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=npx\ tsc

CompilerSet makeprg=tsc
CompilerSet errorformat=%f\ %#(%l\\,%c):\ %trror\ TS%n:\ %m,
		       \%trror\ TS%n:\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save