bogado / file-line

Plugin for vim to enabling opening a file in a given line
http://www.vim.org/scripts/script.php?script_id=2184
299 stars 61 forks source link

Fix other plugins loading #77

Open joe-skb7 opened 5 years ago

joe-skb7 commented 5 years ago

It was noticed that file_line plugin breaks the loading of other plugins. For example, when having next line in ~/.vimrc:

au BufNewFile main.c silent! 0r ~/.vim/skeleton/template.c

this line loads the content from template file when I'm creating new main.c file. But when file-line plugin is installed this functionality doesn't work (newly created main.c is blank). This patch fixes that.

Also, it was reported that file_line breaks vim-go plugin. I haven't check if this patch fixes it though.

Fixes: #62

Signed-off-by: Sam Protsenko semen.protsenko@linaro.org

jirislaby commented 3 years ago

Fixes the issue for me too. Can we have this merged?

joe-skb7 commented 3 years ago

@jirislaby This plugin seems to be dead... I had to move to vim-fetch plugin long ago because this one is not supported anymore.