From d988e65f0fe3422756e67b3ae1e213de681a0bd8 Mon Sep 17 00:00:00 2001 From: Bob Hiestand Date: Tue, 2 Feb 2010 10:16:31 -0600 Subject: [PATCH] consistency: always use lower case for filetype. --- plugin/vcscommand.vim | 2 +- syntax/{CVSAnnotate.vim => cvsannotate.vim} | 0 syntax/{gitAnnotate.vim => gitannotate.vim} | 0 syntax/{HGAnnotate.vim => hgannotate.vim} | 0 syntax/{SVKAnnotate.vim => svkannotate.vim} | 0 syntax/{SVNAnnotate.vim => svnannotate.vim} | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename syntax/{CVSAnnotate.vim => cvsannotate.vim} (100%) rename syntax/{gitAnnotate.vim => gitannotate.vim} (100%) rename syntax/{HGAnnotate.vim => hgannotate.vim} (100%) rename syntax/{SVKAnnotate.vim => svkannotate.vim} (100%) rename syntax/{SVNAnnotate.vim => svnannotate.vim} (100%) diff --git a/plugin/vcscommand.vim b/plugin/vcscommand.vim index d5af971..47a7f50 100644 --- a/plugin/vcscommand.vim +++ b/plugin/vcscommand.vim @@ -548,7 +548,7 @@ function! s:SetupScratchBuffer(command, vcsType, originalBuffer, statusText) setlocal buftype=nofile setlocal noswapfile - let &filetype = a:vcsType . a:command + let &filetype = tolower(a:vcsType . a:command) if VCSCommandGetOption('VCSCommandDeleteOnHide', 0) setlocal bufhidden=delete diff --git a/syntax/CVSAnnotate.vim b/syntax/cvsannotate.vim similarity index 100% rename from syntax/CVSAnnotate.vim rename to syntax/cvsannotate.vim diff --git a/syntax/gitAnnotate.vim b/syntax/gitannotate.vim similarity index 100% rename from syntax/gitAnnotate.vim rename to syntax/gitannotate.vim diff --git a/syntax/HGAnnotate.vim b/syntax/hgannotate.vim similarity index 100% rename from syntax/HGAnnotate.vim rename to syntax/hgannotate.vim diff --git a/syntax/SVKAnnotate.vim b/syntax/svkannotate.vim similarity index 100% rename from syntax/SVKAnnotate.vim rename to syntax/svkannotate.vim diff --git a/syntax/SVNAnnotate.vim b/syntax/svnannotate.vim similarity index 100% rename from syntax/SVNAnnotate.vim rename to syntax/svnannotate.vim -- 2.11.4.GIT