changeset 34037:d12fbae5b7e6

runtime(git): Add small ftplugin Commit: https://github.com/vim/vim/commit/48ddc6a6f86f1f42bdb49d308d72c15b0e90ce5a Author: Tim Pope <code@tpope.net> Date: Thu Dec 28 12:46:39 2023 -0500 runtime(git): Add small ftplugin
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Dec 2023 23:30:04 +0100
parents 90a18b7641af
children efb7fc51cc5f
files runtime/ftplugin/git.vim
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /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<"