summaryrefslogtreecommitdiffstats
path: root/syntax/clojure.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-07-26 13:43:53 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2016-07-26 13:52:30 +0200
commit6a823fb3af595051b3a821496ce2a93aa51fa076 (patch)
treef4af418b1467a540932dedb32fa6461b3a4bc341 /syntax/clojure.vim
parent11f34624aa32ac72dc65e46ea9badb4b16a0edd1 (diff)
downloadvim-polyglot-6a823fb3af595051b3a821496ce2a93aa51fa076.tar.gz
vim-polyglot-6a823fb3af595051b3a821496ce2a93aa51fa076.zip
Update
Diffstat (limited to '')
-rw-r--r--syntax/clojure.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/syntax/clojure.vim b/syntax/clojure.vim
index 2828d8dd..758c1faf 100644
--- a/syntax/clojure.vim
+++ b/syntax/clojure.vim
@@ -17,6 +17,9 @@ if exists("b:current_syntax")
finish
endif
+let s:cpo_sav = &cpo
+set cpo&vim
+
if has("folding") && exists("g:clojure_fold") && g:clojure_fold > 0
setlocal foldmethod=syntax
endif
@@ -216,6 +219,9 @@ highlight default link clojureParen Delimiter
let b:current_syntax = "clojure"
+let &cpo = s:cpo_sav
+unlet! s:cpo_sav
+
" vim:sts=8:sw=8:ts=8:noet
endif