X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=blobdiff_plain;f=vim%2F.vim%2Fplugin%2Ffile_line.vim;h=8d7c429b57d975d46ac4fcb8d3eb2c4b58ec5943;hp=45e250ea59db2839658a25f59c126eb3dd5dd1c3;hb=c87a6c5de579ab6ae0e5d27b233b83bab85e17f6;hpb=8d4331f8ac20bfb0f5c6ce4ea0ada9618216c6f8 diff --git a/vim/.vim/plugin/file_line.vim b/vim/.vim/plugin/file_line.vim index 45e250e..8d7c429 100644 --- a/vim/.vim/plugin/file_line.vim +++ b/vim/.vim/plugin/file_line.vim @@ -1,8 +1,7 @@ " 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 +if exists('*gotoline') | finish | endif function! s:gotoline() let file = bufname("%")