diff options
| author | Teddy Wing | 2019-07-21 17:20:37 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2019-07-21 17:20:37 +0200 | 
| commit | aff749bdc4f6ab381a40f714f216bcd942fbbc2b (patch) | |
| tree | 464be095a2993a12a0dbbd8b0d6643497c6bdc0a | |
| parent | b2d76c515427e02e3da8cb78b8c335bf41c97ee1 (diff) | |
| download | dotvim-aff749bdc4f6ab381a40f714f216bcd942fbbc2b.tar.bz2 | |
Add ftplugin/gitcommit_pullreq_editmsg.vim
Disable 'better autoread' for PULLREQ_EDITMSG files. GitHub's `hub` CLI
may be doing some polling on the file or something because I keep
getting prompts to "Load file" after a while when writing pull request
descriptions.
| -rw-r--r-- | ftplugin/gitcommit_pullreq_editmsg.vim | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/ftplugin/gitcommit_pullreq_editmsg.vim b/ftplugin/gitcommit_pullreq_editmsg.vim new file mode 100644 index 0000000..5fec2fa --- /dev/null +++ b/ftplugin/gitcommit_pullreq_editmsg.vim @@ -0,0 +1,4 @@ +if expand('%:t') ==# 'PULLREQ_EDITMSG' +	" Remove better_autoread autocmds +	autocmd! checktime +endif | 
