]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/plugin/chnglstnav.vim
Detect already loaded code with simpler <SID> check
[dotfiles.git] / vim / .vim / plugin / chnglstnav.vim
index e383743836237e974cd8337c0a48cc4afccbb7cd..dac9e95f784b38d22be7611940aa48c763507d02 100644 (file)
@@ -1,5 +1,4 @@
-if exists("g:loaded_mein_chnglstnav") | finish | endif
-let g:loaded_mein_chnglstnav = 1
+if exists('*<SID>Chng') | finish | endif
 
 function! s:Chng(...)
     if a:0 == 0 | return | endif