David Barnett wrote:

> filetype.vim currently assigns filetype=modula2 to any *.md buffer
> unless it's called README.md. There may be programmers out there who
> use modula2, but I think it's pretty uncontroversial to say the vast
> majority of *.md files edited in vim are markdown, not modula2. Could
> we change the default?
> 
> If it's possible to create a content-based detection rule for modula2,
> that would be fine, as long as it's precise and empty files are
> configured as markdown. Of course, any modula2 programmers annoyed by
> the change could create their own ftdetect rules to override the
> settings, same as markdown users have had to do.

I recommend using .mkd for markdown files.  There appears to be a wide
variety of file name extensions for Markdown.  Using .mkd is the most
specific of the shorter ones, therefore it's the best choice.

Modula2 isn't used much these days, I wonder if someone knows if it can
be recognized by the first few lines.

-- 
hundred-and-one symptoms of being an internet addict:
218. Your spouse hands you a gift wrapped magnet with your PC's name
     on it and you accuse him or her of genocide.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to