Loading ...
Sorry, an error occurred while loading the content.

90036Re: syntax auto detect

Expand Messages
  • zhengquan
    May 1, 2008
    • 0 Attachment
      Thanks, I originally thought the modeline could not be put behind
      comment indicators.


      On Apr 26, 9:59 am, "Benjamin Fritz" <fritzophre...@...> wrote:
      > On 4/25/08, zhengquan <zhang.zhengq...@...> wrote:
      > > Hello,
      > > I wonder if vim can auto detect filetypes.
      > > I want to edit some .cmd files which are actually scheme scripts.
      > > I can not add mode lines to the files because they will cause trouble
      > > when read by other programs. I also do not want to use autocmd to
      > > autodetect .cmd extensions. I would like to know if there are some
      > > smarter mechanisms for auto detecting filetypes.
      > > Thanks.
      > Why would mode lines cause trouble with other programs? You just put
      > them into code comments, which should be ignored by other programs.
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 15 messages in this topic