0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

More runtime file fixes for 'compatible' mode.

This commit is contained in:
Bram Moolenaar
2012-05-01 21:14:34 +02:00
parent 2d0b92f8f9
commit 8071607aa5
52 changed files with 264 additions and 59 deletions

View File

@@ -2,15 +2,13 @@
" Language: Python
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Original Author: David Bustos <bustos@caltech.edu>
" Last Change: 2012 Apr 30
" Last Change: 2012 May 01
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
let s:keepcpo= &cpo
set cpo&vim
" Some preliminary settings
setlocal nolisp " Make sure lisp indenting doesn't supersede us
@@ -23,6 +21,8 @@ setlocal indentkeys+=<:>,=elif,=except
if exists("*GetPythonIndent")
finish
endif
let s:keepcpo= &cpo
set cpo&vim
" Come here when loading the script the first time.