Re: [StGit PATCH] contrib/vim: Fix filetype detection in VIM >=7.4

2016-08-16 Thread Catalin Marinas
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 plugi

[StGit PATCH] contrib/vim: Fix filetype detection in VIM >=7.4

2016-07-15 Thread Zane Bitter
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 e