1
0
forked from aniani/vim

Fixed compatible mode in most runtime files.

This commit is contained in:
Bram Moolenaar
2012-04-30 15:56:52 +02:00
parent e8938e507e
commit 9a7224b5a0
37 changed files with 226 additions and 46 deletions

View File

@@ -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