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

Re: script able to detect +NUM commandline option ?

Expand Messages
  • Bram Moolenaar
    ... We already have argv() to get the filename arguments. Perhaps there could be another function to get the non-filename arguments. -- hundred-and-one
    Message 1 of 3 , Nov 3, 2006
    • 0 Attachment
      Yakov Lerner wrote:

      > Whether Bram thinks it's useful to store this info in some
      > v:variable (so script can know it) ?
      > Within last year, there were requests how script can know
      > whether vim had +NUM option on command line.

      We already have argv() to get the filename arguments. Perhaps there
      could be another function to get the non-filename arguments.

      --
      hundred-and-one symptoms of being an internet addict:
      148. You find it easier to dial-up the National Weather Service
      Weather/your_town/now.html than to simply look out the window.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.