]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(git): Add small ftplugin
authorTim Pope <code@tpope.net>
Thu, 28 Dec 2023 17:46:39 +0000 (12:46 -0500)
committerChristian Brabandt <cb@256bit.org>
Thu, 28 Dec 2023 22:17:54 +0000 (23:17 +0100)
runtime/ftplugin/git.vim [new file with mode: 0644]

diff --git a/runtime/ftplugin/git.vim b/runtime/ftplugin/git.vim
new file mode 100644 (file)
index 0000000..7fcce53
--- /dev/null
@@ -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<"