Mercurial > vim
view runtime/compiler/ifort.vim @ 19185:17d878a2ddaa v8.2.0151
patch 8.2.0151: detecting a script was already sourced is unreliable
Commit: https://github.com/vim/vim/commit/978d170bdce9c0a47e6683cd7c288bc2706f3fff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 26 17:38:12 2020 +0100
patch 8.2.0151: detecting a script was already sourced is unreliable
Problem: Detecting a script was already sourced is unreliable.
Solution: Do not use the inode number.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Jan 2020 17:45:04 +0100 |
parents | d1e4abe8342c |
children | e1df51f68736 |
line wrap: on
line source
" Compiler: Intel Fortran Compiler " Maintainer: H Xu <xuhdev@gmail.com> " Version: 0.1.1 " Last Change: 2012 Apr 30 " Homepage: http://www.vim.org/scripts/script.php?script_id=3497 " https://bitbucket.org/xuhdev/compiler-ifort.vim " License: Same as Vim if exists('current_compiler') finish endif let current_compiler = 'ifort' 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):\ %trror\ \#%n:\ %m, \%A%f(%l):\ %tarning\ \#%n:\ %m, \%-Z%p^, \%-G%.%# let &cpo = s:keepcpo unlet s:keepcpo