Saturday, July 16, 2011

Re: Establishing filetype for a class of documents

On Sat, Jul 16, 2011 at 10:39:53AM -0400, Eric Weir wrote:
>
> Is it possible to associated a class of documents with an established filetype without relying on the extents associated with the filetype. Specifically, I would like to have documents that have no extent recognized as markdown filetype.

You can check the contents of a file to figure out its filetype. Check

:help new-filetype-scripts

--
Javier Rojas

GPG Key ID: 0x24E00D68

No comments:

Post a Comment