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/cmake.vim | |
parent | bd1d5608952dd1c61f99f9b2f605610405415622 (diff) |
Fix more 'cpo' issues in runtime files.
Diffstat (limited to 'runtime/indent/cmake.vim')
-rw-r--r-- | runtime/indent/cmake.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/indent/cmake.vim b/runtime/indent/cmake.vim index 8c408fb1ec..421afcb6d7 100644 --- a/runtime/indent/cmake.vim +++ b/runtime/indent/cmake.vim @@ -23,6 +23,8 @@ setlocal indentkeys+==ENDIF(,ENDFOREACH(,ENDMACRO(,ELSE(,ELSEIF(,ENDWHILE( 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 @@ fun! CMakeGetIndent(lnum) return ind endfun + +let &cpo = s:keepcpo +unlet s:keepcpo |