view runtime/compiler/gfortran.vim @ 17360:cb71b5e9e5d9 v8.1.1679

patch 8.1.1679: test using SwapExists autocommand file may fail commit https://github.com/vim/vim/commit/eaa49e40d7e7f84deef14424c84ef1da0796fa58 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 13 18:08:59 2019 +0200 patch 8.1.1679: test using SwapExists autocommand file may fail Problem: Test using SwapExists autocommand file may fail. Solution: Remove the SwapExists autocommand.
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Jul 2019 18:15:04 +0200
parents d1e4abe8342c
children e1df51f68736
line wrap: on
line source

" Compiler: GNU Fortran Compiler
" Maintainer: H Xu <xuhdev@gmail.com>
" Version: 0.1.3
" Last Change: 2012 Apr 30
" Homepage: http://www.vim.org/scripts/script.php?script_id=3496
"           https://bitbucket.org/xuhdev/compiler-gfortran.vim
" License: Same as Vim

if exists('current_compiler')
    finish
endif
let current_compiler = 'gfortran'
let s:keepcpo= &cpo
set cpo&vim

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

CompilerSet errorformat=
            \%A%f:%l.%c:,
            \%-Z%trror:\ %m,
            \%-Z%tarning:\ %m,
            \%-C%.%#

let &cpo = s:keepcpo
unlet s:keepcpo