view runtime/compiler/gfortran.vim @ 24598:6b85c09a4d73 v8.2.2838

patch 8.2.2838: file extension .wrap not recognized Commit: https://github.com/vim/vim/commit/e3e598e82b79a2ab5ba5e312d54e65c940e2e809 Author: Liam Beguin <liambeguin@gmail.com> Date: Thu May 6 17:45:22 2021 +0200 patch 8.2.2838: file extension .wrap not recognized Problem: File extension .wrap not recognized. Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes https://github.com/vim/vim/issues/8177)
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 May 2021 18:00: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