commit | 8e52a593765172de0f4d98a849d6d89d024b971e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri May 18 21:49:28 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri May 18 21:49:28 2012 +0200 |
tree | 835eaca57a3432e958820b1a994ffa410dd24572 | |
parent | bd1d5608952dd1c61f99f9b2f605610405415622 [diff] [blame] |
Fix more 'cpo' issues in runtime files.
diff --git a/runtime/indent/cmake.vim b/runtime/indent/cmake.vim index 8c408fb..421afcb 100644 --- a/runtime/indent/cmake.vim +++ b/runtime/indent/cmake.vim
@@ -23,6 +23,8 @@ if exists("*CMakeGetIndent") finish endif +let s:keepcpo= &cpo +set cpo&vim fun! CMakeGetIndent(lnum) let this_line = getline(a:lnum) @@ -83,3 +85,6 @@ return ind endfun + +let &cpo = s:keepcpo +unlet s:keepcpo