Mercurial > hg > RemoteEditor > vim7
diff runtime/indent/python.vim @ 48:67300faee616 v7-3-618
v7-3-618
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 01 Aug 2012 18:08:28 +0900 |
parents | 76efa0be13f1 |
children |
line wrap: on
line diff
--- a/runtime/indent/python.vim Wed Aug 01 18:03:06 2012 +0900 +++ b/runtime/indent/python.vim Wed Aug 01 18:08:28 2012 +0900 @@ -2,7 +2,7 @@ " Language: Python " Maintainer: Bram Moolenaar <Bram@vim.org> " Original Author: David Bustos <bustos@caltech.edu> -" Last Change: 2006 Jun 18 +" Last Change: 2012 May 01 " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -21,6 +21,8 @@ if exists("*GetPythonIndent") finish endif +let s:keepcpo= &cpo +set cpo&vim " Come here when loading the script the first time. @@ -190,4 +192,7 @@ endfunction +let &cpo = s:keepcpo +unlet s:keepcpo + " vim:sw=2