diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-04-30 15:56:52 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-04-30 15:56:52 +0200 |
commit | 9a7224b5a0639c26c843c10afcafa5bf149271fd (patch) | |
tree | 9cafda4f3dd87f3ba177401248d65aa241f63ced /runtime/compiler/hp_acc.vim | |
parent | e8938e507e5dbeea25accd3586cd9aca13e5bf64 (diff) |
Fixed compatible mode in most runtime files.
Diffstat (limited to 'runtime/compiler/hp_acc.vim')
-rw-r--r-- | runtime/compiler/hp_acc.vim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/compiler/hp_acc.vim b/runtime/compiler/hp_acc.vim index 685bd5b136..15d5ce5f19 100644 --- a/runtime/compiler/hp_acc.vim +++ b/runtime/compiler/hp_acc.vim @@ -2,7 +2,7 @@ " Compiler: HP aCC " Maintainer: Matthias Ulrich <matthias-ulrich@web.de> " URL: http://www.subhome.de/vim/hp_acc.vim -" Last Change: 2005 Nov 19 +" Last Change: 2012 Apr 30 " " aCC --version says: "HP ANSI C++ B3910B A.03.13" " This compiler has been tested on: @@ -19,6 +19,8 @@ if exists("current_compiler") finish endif let current_compiler = "hp_acc" +let s:keepcpo= &cpo +set cpo&vim if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> @@ -30,4 +32,7 @@ CompilerSet errorformat=%A%trror\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m, \%Z\ \ \ \ %p^%.%#, \%-C%.%# +let &cpo = s:keepcpo +unlet s:keepcpo + " vim:ts=8:sw=4:cindent |