view runtime/compiler/bcc.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 3fc0f57ecb91
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:		bcc - Borland C
" Maintainer:	Emile van Raaij (eraaij@xs4all.nl)
" Last Change:	2004 Mar 27

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

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

" A workable errorformat for Borland C
CompilerSet errorformat=%*[^0-9]%n\ %f\ %l:\ %m

" default make
CompilerSet makeprg=make