0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

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

@@ -8,8 +8,8 @@ if exists("b:did_ftplugin") | finish | endif
" Make sure the continuation lines below do not cause problems in
" compatibility mode.
let s:save_cpo = &cpo
set cpo-=C
let s:keepcpo= &cpo
set cpo&vim
" Define some defaults in case the included ftplugins don't set them.
let s:undo_ftplugin = ""
@@ -79,5 +79,5 @@ let b:undo_ftplugin = "setlocal commentstring< include< omnifunc<" .
\ s:undo_ftplugin
" Restore the saved compatibility options.
let &cpo = s:save_cpo
unlet s:save_cpo
let &cpo = s:keepcpo
unlet s:keepcpo