Skip to content

Commit

Permalink
Add ProjectionistApplyTemplate autocmd
Browse files Browse the repository at this point in the history
Fixes #76
  • Loading branch information
Arthur Axel 'fREW' Schmidt authored and tpope committed Jun 25, 2018
1 parent 3fbebc9 commit 3102bb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoload/projectionist.vim
Expand Up @@ -704,6 +704,9 @@ function! projectionist#apply_template() abort
endif
%delete_
call setline(1, split(template, "\n"))
if exists('#User#ProjectionistApplyTemplate')
doautocmd User ProjectionistApplyTemplate
endif
doautocmd BufReadPost
endif
return ''
Expand Down

0 comments on commit 3102bb4

Please sign in to comment.