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

Re: augroup! not working for VimLeave

Expand Messages
  • Christian Ebert
    ... heh ... Thanks Will^WGary. c -- _B A U S T E L L E N_ lesen! ---
    Message 1 of 3 , Jul 31, 2006
    • 0 Attachment
      * Gary Johnson on Monday, July 31, 2006 at 01:13:10 -0700:
      > To paraphrase Will Rogers: "All I know is what I read in the
      > manual."

      heh

      > ":help :autocmd-remove" says,
      >
      > :au[tocmd]! [group] Remove ALL autocommands.
      >
      > And as you discovered, ":help augroup-delete" says not to execute
      >
      > :aug[roup]! {name}
      >
      > if the group still contains an autocommand. So to do what you want
      > to do, you should use ":au! TestLeave" and not ":aug! TestLeave".

      Thanks Will^WGary.

      c
      --
      _B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>
    Your message has been successfully submitted and would be delivered to recipients shortly.