]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/plugin/file_line.vim
g:loaded_* stopper
[dotfiles.git] / vim / .vim / plugin / file_line.vim
index e5a6a927eae606c528b73434f8364f9dd22bbc6f..65962d2f9fc8d2c0e77aec4f1bc0c5149020032b 100644 (file)
@@ -1,6 +1,9 @@
 " Simplified version of http://www.vim.org/scripts/script.php?script_id=2184
 " that does not replace current window
 
+if exists("g:loaded_mein_file_line") | finish | endif
+let g:loaded_mein_file_line = 1
+
 function! s:gotoline()
     let names = matchlist(bufname("%"), '\(.\{-1,}\):\%(\(\d\+\)\%(:\(\d*\):\?\)\?\)\?$')
     if empty(names) | return | endif