diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-05-18 21:49:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-05-18 21:49:28 +0200 |
commit | 8e52a593765172de0f4d98a849d6d89d024b971e (patch) | |
tree | 835eaca57a3432e958820b1a994ffa410dd24572 /runtime/indent/vim.vim | |
parent | bd1d5608952dd1c61f99f9b2f605610405415622 (diff) |
Fix more 'cpo' issues in runtime files.
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 40117a0070..8281d94c09 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 |