]> 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 648fafb3aed91699a8788ede784ef7e60b57f417..dac9e95f784b38d22be7611940aa48c763507d02 100644 (file)
@@ -1,3 +1,5 @@
+if exists('*<SID>Chng') | finish | endif
+
 function! s:Chng(...)
     if a:0 == 0 | return | endif
     execute "normal " . a:1 . (a:1 > 0 ? "g;" : "g,")