view runtime/compiler/tsc.vim @ 29179:432e1535ef2c v8.2.5109

patch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert mode Commit: https://github.com/vim/vim/commit/7a1d32809bb5c1527314000983e75125d79192e0 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 16 13:04:45 2022 +0100 patch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert mode Problem: Mode not updated after CTRL-O CTRL-C in Insert mode. Solution: Set redraw_mode and use it. (closes https://github.com/vim/vim/issues/10581)
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Jun 2022 14:15:03 +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