From: Catalin Marinas Date: Tue, 16 Aug 2016 08:52:31 GMT Subject: Re: [StGit PATCH] contrib/vim: Fix filetype detection in VIM >=7.4 Message-ID: In-Reply-To: <146860882262.30566.9308142555262174975.stgit@zbitter> On 15 July 2016 at 19:58, Zane Bitter wrote: > The command "setfiletype" will not override an existing filetype. This was > never a problem for me previously, but since upgrading from VIM 7.3 to 7.4 > the filetype for StGit's files is explicitly set to "text", preventing the > stgit ftdetect plugin overriding it. Use "setlocal filetype=" instead to > ensure that we override any previously detected filetype. Applied. Thanks. Catalin