view runtime/compiler/fbc.vim @ 31796:e2fa5867a7bd v9.0.1230

patch 9.0.1230: Apache thrift files are not recognized Commit: https://github.com/vim/vim/commit/f3da4c8427b1b12d7aaffa307ec085ca97ea9ad9 Author: Amaan Qureshi <amaanq12@gmail.com> Date: Sun Jan 22 18:16:44 2023 +0000 patch 9.0.1230: Apache thrift files are not recognized Problem: Apache thrift files are not recognized. Solution: Add a pattern for thrift files. (Amaan Qureshi, closes https://github.com/vim/vim/issues/11859)
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Jan 2023 19:30:04 +0100
parents 34b4eb3a8458
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	FreeBASIC Compiler
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2015 Jan 10

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

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=fbc
CompilerSet errorformat=%-G%.%#Too\ many\ errors\\,\ exiting,
		       \%f(%l)\ %tarning\ %n(%\\d%\\+):\ %m,
                       \%E%f(%l)\ error\ %n:\ %m,
		       \%-Z%p^,
		       \%-C%.%#,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save