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

Re: Small documentation problem

Expand Messages
  • Benji Fisher
    ... [snip] I think the problem is that iskeyword includes ( and a lot of other characters in a help file. So perhaps the only change needed is to add a
    Message 1 of 2 , Feb 25, 2006
    • 0 Attachment
      On Sun, Feb 26, 2006 at 12:44:36AM +0100, Guido Van Hoecke wrote:
      > Hi,
      >
      > I'm using VIM - Vi IMproved 7.0aa ALPHA (2006 Feb 22, compiled Feb 23 2006
      > 09:15:22).
      >
      > In '*usr_12.txt* For Vim version 7.0aa. Last change: 2004 Dec 29',
      > line 273 says:
      >
      > For example, you want to know the return value of "strstr()" while editing
      > this line:
      >
      > if (strstr(input, "aap") == ) ~
      >
      > Move the cursor to somewhere on "strstr" and type "\K". A window will open
      > to display the man page for strstr().
      >
      > If (using gvim) I put my cursor on the first 's' of 'if (strstr(...' and
      > hit "\K", I get:
      > :! man (strstr(input,
      > Too many ('s.
      [snip]

      I think the problem is that 'iskeyword' includes "(" and a lot of
      other characters in a help file. So perhaps the only change needed is
      to add a warning not to try this in the help file. (Do not try this at
      home. Professional programmer, closed file. ...)

      --Benji Fisher
    Your message has been successfully submitted and would be delivered to recipients shortly.