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

Re: vim + cscope + nuweb

Expand Messages
  • Jim Washburn
    ... gives iskeyword=@,48-57,192-255 ... Yes it does! Thanks all, this is great. -Jim
    Message 1 of 3 , Sep 29, 2006
      panshizhu@... wrote:

      >Jim Washburn <washburn@...> 写于 2006-09-30 02:58:59:
      >
      >
      >
      >>Hi,
      >>A question about this combination -
      >>I use cscope with vim, normally with C/C++. I have lately been using the
      >>literate programming tool 'nuweb' , somewhat similar to CWEB, based on
      >>Latex. The nuweb source files I have written have C/C++ code within
      >>them. I have a problem referencing cscope tags within vim in this case.
      >>It does not seem to know that underscores can be part of the symbol it
      >>is looking up. So it looks up a truncated version of the symbol. Using
      >>cscope with nuweb outside of vim works fine.
      >> So my question is, how can I tell vim that underscores are a valid
      >>character in this context?
      >>
      >>Thanks,
      >>
      >>Jim
      >>
      >>
      >>
      :verbose set isk?

      gives

      iskeyword=@,48-57,192-255

      >
      >I guess that :set isk+=_
      >will work.
      >

      Yes it does! Thanks all, this is great.

      -Jim


      >
      >HTH
      >
      >--
      >Sincerely, Pan, Shi Zhu. ext: 2606
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.