diff runtime/syntax/objc.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 e63691e7c504
children 8b86b69546a9
line wrap: on
line diff
--- a/runtime/syntax/objc.vim
+++ b/runtime/syntax/objc.vim
@@ -3,7 +3,7 @@
 " Maintainer:	    Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
 " Ex-maintainer:    Anthony Hodsdon <ahodsdon@fastmail.fm>
 " First Author:	    Valentino Kyriakides <1kyriaki@informatik.uni-hamburg.de>
-" Last Change:	    2007 Feb 21
+" Last Change:	    2012 Apr 30
 
 " For version 5.x: Clear all syntax items
 " For version 6.x: Quit when a syntax file was already loaded
@@ -12,6 +12,8 @@ if version < 600
 elseif exists("b:current_syntax")
   finish
 endif
+let s:keepcpo= &cpo
+set cpo&vim
 
 if &filetype != 'objcpp'
   " Read the C syntax to start with
@@ -107,4 +109,7 @@ endif
 
 let b:current_syntax = "objc"
 
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
 " vim: ts=8