summaryrefslogtreecommitdiffstats
path: root/syntax/ocaml.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-01-14 20:59:40 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-01-14 20:59:40 +0100
commit22040ce638ed610cfdbba03376ad9864a2a5d321 (patch)
tree43e3ef7cc1a17994bbf1460d0d000dd7e0723168 /syntax/ocaml.vim
parent7bde552a463999897320a1899a6ca4f8806041ea (diff)
downloadvim-polyglot-22040ce638ed610cfdbba03376ad9864a2a5d321.tar.gz
vim-polyglot-22040ce638ed610cfdbba03376ad9864a2a5d321.zip
Update
Diffstat (limited to 'syntax/ocaml.vim')
-rw-r--r--syntax/ocaml.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/syntax/ocaml.vim b/syntax/ocaml.vim
index 032c133d..c3508ce8 100644
--- a/syntax/ocaml.vim
+++ b/syntax/ocaml.vim
@@ -27,6 +27,9 @@ if exists("b:current_syntax") && b:current_syntax == "ocaml"
finish
endif
+let s:keepcpo = &cpo
+set cpo&vim
+
" ' can be used in OCaml identifiers
setlocal iskeyword+='
@@ -388,4 +391,7 @@ hi def link ocamlPpxEncl ocamlEncl
let b:current_syntax = "ocaml"
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim: ts=8