summaryrefslogtreecommitdiff
path: root/runtime/indent/occam.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-05-18 21:49:28 +0200
committerBram Moolenaar <Bram@vim.org>2012-05-18 21:49:28 +0200
commit8e52a593765172de0f4d98a849d6d89d024b971e (patch)
tree835eaca57a3432e958820b1a994ffa410dd24572 /runtime/indent/occam.vim
parentbd1d5608952dd1c61f99f9b2f605610405415622 (diff)
downloadvim-git-8e52a593765172de0f4d98a849d6d89d024b971e.tar.gz
Fix more 'cpo' issues in runtime files.
Diffstat (limited to 'runtime/indent/occam.vim')
-rw-r--r--runtime/indent/occam.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/indent/occam.vim b/runtime/indent/occam.vim
index ba978e006..bebb0528b 100644
--- a/runtime/indent/occam.vim
+++ b/runtime/indent/occam.vim
@@ -20,6 +20,8 @@ setlocal indentkeys=o,O,0=:
if exists("*GetOccamIndent")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
"{{{ Indent definitions
" Define carriage return indent
@@ -180,3 +182,6 @@ function GetOccamIndent()
endfunction
"}}}
+
+let &cpo = s:keepcpo
+unlet s:keepcpo