Mercurial > vim
annotate runtime/compiler/g95.vim @ 17454:37afc0146eab v8.1.1725
patch 8.1.1725: MS-Windows: E325 message may use incorrect date format
commit https://github.com/vim/vim/commit/663bbc09babea1ff8dfa7ccd58801ac9219fc2b2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 21 15:23:35 2019 +0200
patch 8.1.1725: MS-Windows: E325 message may use incorrect date format
Problem: MS-Windows: E325 message may use incorrect date format.
Solution: Convert strftime() result to 'encoding'. Also make the message
translatable. (Ken Takata, closes #4685, closes #4681)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Jul 2019 15:30:04 +0200 |
parents | d1e4abe8342c |
children | e1df51f68736 |
rev | line source |
---|---|
2751 | 1 " Compiler: G95 |
2 " Maintainer: H Xu <xuhdev@gmail.com> | |
3 " Version: 0.1.3 | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
4 " Last Change: 2012 Apr 30 |
2751 | 5 " Homepage: http://www.vim.org/scripts/script.php?script_id=3492 |
6 " https://bitbucket.org/xuhdev/compiler-g95.vim | |
7 " License: Same as Vim | |
8 | |
9 if exists('current_compiler') | |
10 finish | |
11 endif | |
12 let current_compiler = 'g95' | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
13 let s:keepcpo= &cpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
14 set cpo&vim |
2751 | 15 |
16 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
17 command -nargs=* CompilerSet setlocal <args> | |
18 endif | |
19 | |
20 CompilerSet errorformat= | |
21 \%AIn\ file\ %f:%l, | |
22 \%-C%p1, | |
23 \%-Z%trror:\ %m, | |
24 \%-Z%tarning\ (%n):\ %m, | |
25 \%-C%.%# | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
26 |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
27 let &cpo = s:keepcpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
28 unlet s:keepcpo |