Mercurial > vim
comparison runtime/compiler/mips_c.vim @ 3496:d1e4abe8342c
Fixed compatible mode in most runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 30 Apr 2012 15:56:52 +0200 |
parents | 3fc0f57ecb91 |
children | e1df51f68736 |
comparison
equal
deleted
inserted
replaced
3495:0973ed3043c6 | 3496:d1e4abe8342c |
---|---|
1 " Vim compiler file | 1 " Vim compiler file |
2 " Compiler: SGI IRIX 6.5 MIPS C (cc) | 2 " Compiler: SGI IRIX 6.5 MIPS C (cc) |
3 " Maintainer: David Harrison <david_jr@users.sourceforge.net> | 3 " Maintainer: David Harrison <david_jr@users.sourceforge.net> |
4 " Last Change: 2004 Mar 27 | 4 " Last Change: 2012 Apr 30 |
5 | 5 |
6 if exists("current_compiler") | 6 if exists("current_compiler") |
7 finish | 7 finish |
8 endif | 8 endif |
9 let current_compiler = "mips_c" | 9 let current_compiler = "mips_c" |
10 let s:keepcpo= &cpo | |
11 set cpo&vim | |
10 | 12 |
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | 13 if exists(":CompilerSet") != 2 " older Vim always used :setlocal |
12 command -nargs=* CompilerSet setlocal <args> | 14 command -nargs=* CompilerSet setlocal <args> |
13 endif | 15 endif |
14 | 16 |
17 \%Icc\-%n\ %.%#:\ REMARK\ File\ =\ %f\%\\,\ Line\ =\ %l, | 19 \%Icc\-%n\ %.%#:\ REMARK\ File\ =\ %f\%\\,\ Line\ =\ %l, |
18 \%+C\ \ %m., | 20 \%+C\ \ %m., |
19 \%-Z\ \ %p^, | 21 \%-Z\ \ %p^, |
20 \%-G\\s%#, | 22 \%-G\\s%#, |
21 \%-G%.%# | 23 \%-G%.%# |
24 | |
25 let &cpo = s:keepcpo | |
26 unlet s:keepcpo |