Mercurial > vim
annotate runtime/compiler/gcc.vim @ 14252:b557af8dedab v8.1.0142
patch 8.1.0142: xterm and vt320 builtin termcap missing keypad keys
commit https://github.com/vim/vim/commit/e6882bdc44efbcea0af647f5759a8f48cf29e27c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 3 17:16:59 2018 +0200
patch 8.1.0142: xterm and vt320 builtin termcap missing keypad keys
Problem: Xterm and vt320 builtin termcap missing keypad keys.
Solution: Add the escape sequences. (Kouichi Iwamoto, closes https://github.com/vim/vim/issues/2973)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 03 Jul 2018 17:30:08 +0200 |
parents | 1218c5353e2b |
children | b9bc47742df6 |
rev | line source |
---|---|
375 | 1 " Vim compiler file |
11062 | 2 " Compiler: GNU C Compiler |
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2010-10-14 | |
8869
b73f9ed65072
commit https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
Christian Brabandt <cb@256bit.org>
parents:
5555
diff
changeset
|
5 " added line suggested by Anton Lindqvist 2016 Mar 31 |
375 | 6 |
7 if exists("current_compiler") | |
8 finish | |
9 endif | |
10 let current_compiler = "gcc" | |
11 | |
12 let s:cpo_save = &cpo | |
3237 | 13 set cpo&vim |
375 | 14 |
1621 | 15 CompilerSet errorformat= |
2034 | 16 \%*[^\"]\"%f\"%*\\D%l:%c:\ %m, |
375 | 17 \%*[^\"]\"%f\"%*\\D%l:\ %m, |
2034 | 18 \\"%f\"%*\\D%l:%c:\ %m, |
375 | 19 \\"%f\"%*\\D%l:\ %m, |
20 \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once, | |
21 \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.), | |
2608
7d8af31066c8
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2236
diff
changeset
|
22 \%f:%l:%c:\ %trror:\ %m, |
2236
dc2e5ec0500d
Added the undofile() function. Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
23 \%f:%l:%c:\ %tarning:\ %m, |
2034 | 24 \%f:%l:%c:\ %m, |
2608
7d8af31066c8
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2236
diff
changeset
|
25 \%f:%l:\ %trror:\ %m, |
2236
dc2e5ec0500d
Added the undofile() function. Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
26 \%f:%l:\ %tarning:\ %m, |
375 | 27 \%f:%l:\ %m, |
8869
b73f9ed65072
commit https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
Christian Brabandt <cb@256bit.org>
parents:
5555
diff
changeset
|
28 \%f:\\(%*[^\\)]\\):\ %m, |
375 | 29 \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m, |
5555 | 30 \%D%*\\a[%*\\d]:\ Entering\ directory\ [`']%f', |
31 \%X%*\\a[%*\\d]:\ Leaving\ directory\ [`']%f', | |
32 \%D%*\\a:\ Entering\ directory\ [`']%f', | |
33 \%X%*\\a:\ Leaving\ directory\ [`']%f', | |
375 | 34 \%DMaking\ %*\\a\ in\ %f |
35 | |
1213 | 36 if exists('g:compiler_gcc_ignore_unmatched_lines') |
1621 | 37 CompilerSet errorformat+=%-G%.%# |
1213 | 38 endif |
39 | |
375 | 40 let &cpo = s:cpo_save |
41 unlet s:cpo_save |