From: Tim Pope Date: Thu, 28 Dec 2023 17:46:39 +0000 (-0500) Subject: runtime(git): Add small ftplugin X-Git-Tag: v9.0.2189~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48ddc6a6f86f1f42bdb49d308d72c15b0e90ce5a;p=thirdparty%2Fvim.git runtime(git): Add small ftplugin --- 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 +" 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<"