summaryrefslogtreecommitdiffstats
path: root/runtime/indent/python.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-05-01 21:14:34 +0200
committerBram Moolenaar <Bram@vim.org>2012-05-01 21:14:34 +0200
commit8071607aa5e6f4decd2c3ba0a41cf2b3498b6f1e (patch)
treeb89b0ce21c32df983ad6b857b3ac55188a0f58ed /runtime/indent/python.vim
parent2d0b92f8f9f765f2707a98a3493903f895c87c7f (diff)
More runtime file fixes for 'compatible' mode.
Diffstat (limited to 'runtime/indent/python.vim')
-rw-r--r--runtime/indent/python.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/indent/python.vim b/runtime/indent/python.vim
index 838865f87f..54ed123429 100644
--- a/runtime/indent/python.vim
+++ b/runtime/indent/python.vim
@@ -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.