view runtime/compiler/fpc.vim @ 34743:a815610f567b v9.1.0250

patch 9.1.0250: filetype: ldscripts cannot be recognized Commit: https://github.com/vim/vim/commit/4c7098b00a5edfb25b24fe3210866a4f30a2d78f Author: Wu, Zhenyu <wuzhenyu@ustc.edu> Date: Sun Mar 31 19:57:16 2024 +0200 patch 9.1.0250: filetype: ldscripts cannot be recognized Problem: filetype: ldscripts cannot be recognized Solution: Detect '*/ldscripts/*' as ld (Wu, Zhenyu) closes: #14371 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Mar 2024 20:00:08 +0200
parents 11b656e74444
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:     FPC 2.1
" Maintainer:   Jaroslaw Blasiok <jaro3000@o2.pl>
" Last Change:  2005 October 07

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

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

" NOTE: compiler must be run with -vb to write whole source path, not only file
" name.
CompilerSet errorformat=%f(%l\\,%c)\ %m