Thursday, October 2, 2014

Re: Change *.md to ft=markdown instead of modula2?

+1 on this. I've made it a patch.

On Oct 2, 2014 8:40 PM, "David Barnett" <daviebdawg@gmail.com> 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.

David

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: