7 lines
250 B
Plaintext

augroup GitCommitTemplates
autocmd!
autocmd BufNewFile,BufRead PULL_REQUEST_TEMPLATE,*.pr set filetype=pullrequest
autocmd Filetype pullrequest :match GitCommitTemplateTag /<[^>]*>/
autocmd Filetype pullrequest :let @/ ='<[^>]*>'
augroup END