diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-12-29 00:27:40 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-12-29 00:54:09 +0100 |
commit | ffb97af88785d8bf5b10ea82d1406f4d6aa6f799 (patch) | |
tree | 3a187ab129cc807a522f966f902d72516c9f2baf | |
parent | aecbc3f832a20f860858c3b2a9774c6a51fd52da (diff) | |
download | rneovim-ffb97af88785d8bf5b10ea82d1406f4d6aa6f799.tar.gz rneovim-ffb97af88785d8bf5b10ea82d1406f4d6aa6f799.tar.bz2 rneovim-ffb97af88785d8bf5b10ea82d1406f4d6aa6f799.zip |
vim-patch:48ddc6a6f86f
runtime(git): Add small ftplugin
https://github.com/vim/vim/commit/48ddc6a6f86f1f42bdb49d308d72c15b0e90ce5a
Co-authored-by: Tim Pope <code@tpope.net>
-rw-r--r-- | runtime/ftplugin/git.vim | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/ftplugin/git.vim b/runtime/ftplugin/git.vim new file mode 100644 index 0000000000..7fcce53056 --- /dev/null +++ b/runtime/ftplugin/git.vim @@ -0,0 +1,15 @@ +" Vim filetype plugin +" Language: generic git output +" Maintainer: Tim Pope <vimNOSPAM@tpope.org> +" Last Change: 2023 Mar 26 + +" Only do this when not done yet for this buffer +if (exists("b:did_ftplugin")) + finish +endif + +let b:did_ftplugin = 1 + +setlocal nomodeline + +let b:undo_ftplugin = "setl modeline<" |