Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks templates loading #62

Open
joe-skb7 opened this issue Nov 4, 2015 · 4 comments · May be fixed by #77
Open

Breaks templates loading #62

joe-skb7 opened this issue Nov 4, 2015 · 4 comments · May be fixed by #77

Comments

@joe-skb7
Copy link
Contributor

joe-skb7 commented Nov 4, 2015

The same issue ( #61 ) was closed by mistake, so creating new one (duplicate).

I have next line in my .vimrc:

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

This loads 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).

More detailed description is here: #60 (comment)

@anisse
Copy link

anisse commented Apr 21, 2017

This breaks the template loading of vim-go for example.

joe-skb7 pushed a commit to joe-skb7/file-line that referenced this issue Jun 12, 2019
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: bogado#62

Signed-off-by: Sam Protsenko <[email protected]>
@joe-skb7 joe-skb7 linked a pull request Jun 12, 2019 that will close this issue
@joe-skb7
Copy link
Contributor Author

@anisse Can you please check if #77 patch fixes the template loading of vim-go?

@joe-skb7
Copy link
Contributor Author

@bogado Can you please merge #77?

@anisse
Copy link

anisse commented Jun 25, 2019

@joe-skb7 sorry for the delay, I replaced file-line with a bash function for vim, so I don't use it anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants