Skip to content

Commit

Permalink
Resist to compatible/cpo settings
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHermitte committed Jan 16, 2019
1 parent 46fdd75 commit 53efa2a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugin/lh-style.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,23 @@
" Version: 1.0.0
let s:k_version = 100
" Created: 31st May 2010
" Last Update: 17th Oct 2017
" Last Update: 16th Jan 2019
"------------------------------------------------------------------------
" Description:
" Global commands and definitions of lh-style
" }}}1
"=============================================================================

" Avoid global reinclusion {{{1
let s:cpo_save=&cpo
set cpo&vim
if &cp || (exists("g:loaded_lh_style")
\ && (g:loaded_lh_style >= s:k_version)
\ && !exists('g:force_reload_lh_style'))
let &cpo=s:cpo_save
finish
endif
let g:loaded_lh_style = s:k_version
let s:cpo_save=&cpo
set cpo&vim
" Avoid global reinclusion }}}1
"------------------------------------------------------------------------
" ## Commands and Mappings {{{1
Expand Down

0 comments on commit 53efa2a

Please sign in to comment.