view runtime/compiler/ts-node.vim @ 30639:60c61efcabce v9.0.0654

patch 9.0.0654: breakindent test fails Commit: https://github.com/vim/vim/commit/ec32c781a282398e3da27f4aec4b03fcd20f8b0d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 3 22:10:37 2022 +0100 patch 9.0.0654: breakindent test fails Problem: Breakindent test fails. Solution: Temporarily accept wrong result.
author Bram Moolenaar <Bram@vim.org>
date Mon, 03 Oct 2022 23:15:03 +0200
parents 0db0640e16e0
children e1df51f68736
line wrap: on
line source

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

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

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\ ts-node

CompilerSet makeprg=ts-node
CompilerSet errorformat=%f\ %#(%l\\,%c):\ %trror\ TS%n:\ %m,
		       \%E%f:%l,
		       \%+Z%\\w%\\+Error:\ %.%#,
		       \%C%p^%\\+,
		       \%C%.%#,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save