diff options
Diffstat (limited to 'runtime/indent/vim.vim')
-rw-r--r-- | runtime/indent/vim.vim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/indent/vim.vim b/runtime/indent/vim.vim index 40117a007..8281d94c0 100644 --- a/runtime/indent/vim.vim +++ b/runtime/indent/vim.vim @@ -1,7 +1,7 @@ " Vim indent file " Language: Vim script " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2011 Mar 22 +" Last Change: 2012 May 18 " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -16,6 +16,8 @@ setlocal indentkeys+==end,=else,=cat,=fina,=END,0\\ if exists("*GetVimIndent") finish endif +let s:keepcpo= &cpo +set cpo&vim function GetVimIndent() " Find a non-blank line above the current line. @@ -79,4 +81,7 @@ function GetVimIndent() return ind endfunction +let &cpo = s:keepcpo +unlet s:keepcpo + " vim:sw=2 |