view runtime/compiler/xbuild.vim @ 18707:e190e64d253b v8.1.2345

patch 8.1.2345: .cjs files are not recognized as Javascript Commit: https://github.com/vim/vim/commit/c1faf3dc3879e8a5e486f31445b5a5753dcbc6a3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 26 13:43:40 2019 +0100 patch 8.1.2345: .cjs files are not recognized as Javascript Problem: .cjs files are not recognized as Javascript. Solution: Add the *.cjs pattern. (closes https://github.com/vim/vim/issues/5268)
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Nov 2019 13:45:05 +0100
parents eb6ab7e78925
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Mono C#
" Maintainer:	Chiel ten Brinke (ctje92@gmail.com)
" Last Change:	2013 May 13

if exists("current_compiler")
  finish
endif

let current_compiler = "xbuild"
let s:keepcpo= &cpo
set cpo&vim

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m
CompilerSet makeprg=xbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true

let &cpo = s:keepcpo
unlet s:keepcpo