diff options
author | adrian5 <adrian5@users.noreply.github.com> | 2020-11-20 02:33:27 +0100 |
---|---|---|
committer | adrian5 <adrian5@users.noreply.github.com> | 2020-11-20 02:39:43 +0100 |
commit | dee5dfd930293612f5a73eca64e0bde9a17eb6ed (patch) | |
tree | 2a8709200aee7b1a65b7a067ca4ac9db226ad6da | |
parent | ad56527247353df4a83fc7232d8680083ec4f24f (diff) | |
download | rneovim-dee5dfd930293612f5a73eca64e0bde9a17eb6ed.tar.gz rneovim-dee5dfd930293612f5a73eca64e0bde9a17eb6ed.tar.bz2 rneovim-dee5dfd930293612f5a73eca64e0bde9a17eb6ed.zip |
gitcommit.vim: patch runtime/ftplugin to c08ee7476
vim/vim@c08ee7476b19f9b4de5df287797af87c4e3fba0a
-rw-r--r-- | runtime/ftplugin/gitcommit.vim | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/ftplugin/gitcommit.vim b/runtime/ftplugin/gitcommit.vim index 6767ff719e..9b1998acaa 100644 --- a/runtime/ftplugin/gitcommit.vim +++ b/runtime/ftplugin/gitcommit.vim @@ -1,7 +1,7 @@ " Vim filetype plugin " Language: git commit file " Maintainer: Tim Pope <vimNOSPAM@tpope.org> -" Last Change: 2016 Aug 29 +" Last Change: 2019 Dec 05 " Only do this when not done yet for this buffer if (exists("b:did_ftplugin")) @@ -13,8 +13,10 @@ let b:did_ftplugin = 1 setlocal comments=:# commentstring=#\ %s setlocal nomodeline tabstop=8 formatoptions+=tl textwidth=72 -setlocal formatoptions-=c formatoptions-=r formatoptions-=o formatoptions-=q -let b:undo_ftplugin = 'setl modeline< tabstop< formatoptions< tw< com< cms<' +setlocal formatoptions-=c formatoptions-=r formatoptions-=o formatoptions-=q formatoptions+=n +setlocal formatlistpat+=\\\|^\\s*[-*+]\\s\\+ + +let b:undo_ftplugin = 'setl modeline< tabstop< formatoptions< tw< com< cms< formatlistpat<' if exists("g:no_gitcommit_commands") || v:version < 700 finish |