Skip to content

Commit bc1bebf

Browse files
committed
Explicitly set 'cpo' in syntax file
Syntax file was missing standard 'cpo' boilerplate. Spotted by Bram Moolenaar: https://groups.google.com/d/msg/vim_dev/gf9bpbV6wyo/UaPKCn2eAgAJ
1 parent 33e7e1e commit bc1bebf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

syntax/clojure.vim

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ if exists("b:current_syntax")
1515
finish
1616
endif
1717

18+
let s:cpo_sav = &cpo
19+
set cpo&vim
20+
1821
if has("folding") && exists("g:clojure_fold") && g:clojure_fold > 0
1922
setlocal foldmethod=syntax
2023
endif
@@ -214,4 +217,7 @@ highlight default link clojureParen Delimiter
214217

215218
let b:current_syntax = "clojure"
216219

220+
let &cpo = s:cpo_sav
221+
unlet! s:cpo_sav
222+
217223
" vim:sts=8:sw=8:ts=8:noet

0 commit comments

Comments
 (0)