annotate runtime/compiler/fortran_F.vim @ 18707:e190e64d253b v8.1.2345

patch 8.1.2345: .cjs files are not recognized as Javascript Commit: https://github.com/vim/vim/commit/c1faf3dc3879e8a5e486f31445b5a5753dcbc6a3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 26 13:43:40 2019 +0100 patch 8.1.2345: .cjs files are not recognized as Javascript Problem: .cjs files are not recognized as Javascript. Solution: Add the *.cjs pattern. (closes https://github.com/vim/vim/issues/5268)
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Nov 2019 13:45:05 +0100
parents 3fc0f57ecb91
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim compiler file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Compiler: Fortran Company/NAGWare F compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " URL: http://www.unb.ca/chem/ajit/compiler/fortran_F.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Version: 0.2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Last Change: 2004 Mar 27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 if exists("current_compiler")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 let current_compiler = "fortran_F"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 command -nargs=* CompilerSet setlocal <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 let s:cposet=&cpoptions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 set cpoptions-=C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 CompilerSet errorformat=%trror:\ %f\\,\ line\ %l:%m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 \%tarning:\ %f\\,\ line\ %l:%m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 \%tatal\ Error:\ %f\\,\ line\ %l:%m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 \%-G%.%#
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 CompilerSet makeprg=F
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 let &cpoptions=s:cposet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 unlet s:cposet