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

62956Re: Possible typo in doc

Expand Messages
  • Tony Mechelynck
    Oct 25, 2011
    • 0 Attachment
      On 26/10/11 01:50, Ricardo Catalinas Jiménez wrote:
      > I think I just spot a cosmetic defect in `:help :doautocmd', in the
      > given example:
      > ...
      > another extension. Example: >
      > :au Bufenter *.cpp so ~/.vimrc_cpp
      > :au Bufenter *.cpp doau BufEnter x.c
      > Be careful to avoid endless loops. See
      > ...
      > Should be Bufenter -> BufEnter, just to keep the quality of the Vim doc :-)

      Yes and no.

      The help usually uses BufEnter, BufRead, FileType, VimLeave, etc., but
      (see ":help {event}") event names are case-insensitive, you can use
      bufenter, BufEnter, Bufenter, BUFENTER, or even BuFeNtEr, and the result
      will be the same in all cases.

      Best regards,
      "One basic notion underlying Usenet is that it is a cooperative."

      Having been on USENET for going on ten years, I disagree with this.
      The basic notion underlying USENET is the flame.
      -- Chuq Von Rospach

      You received this message from the "vim_dev" 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
    • Show all 2 messages in this topic