thinca/vim-template

BufNewFile not triggered

Closed this issue · 2 comments

When using this template engine BufNewFile doesn't seem to be triggered. Is there a way to fix that or another hook I can use?

au BufNewFile,BufRead * setlocal formatoptions-=ro
au BufNewFile,BufRead * set hidden

I couldn't reproduce it.
Could you tell me the reproduce way with minimal vimrc?