git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Aug 16, 2016, 08:52 UTC
Message-ID
<CAHkRjk6U0a+UsBBKTiQTCqxY61aZaJB6jqR4fEpcaGoVFcn1VA@mail.gmail.com>
In-Reply-To
<146860882262.30566.9308142555262174975.stgit@zbitter>
On 15 July 2016 at 19:58, Zane Bitter <zbitter@redhat.com> wrote:
Show 5 quoted lines
> 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
Previous: Zane Bitter
Message 2 of 2 in “contrib/vim: Fix filetype detection in VIM >=7.4”
  1. contrib/vim: Fix filetype detection in VIM >=7.4Zane Bitter, Jul 15, 2016
  2. Catalin MarinasAug 16, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.