Thursday, October 13, 2016

Repeated symbols with Cscope

Hello,

For some reason when I do a symbol search with Cscope in Vim I get repeated symbols, e.g.:

:cs find s setID
e.H|188| <<setID>> void setID (int ID) { _ID = ID; }
e.H|188| <<setID>> void setID (int ID) { _ID = ID; }
e.H|188| <<setID>> void setID (int ID) { _ID = ID; }
e.H|188| <<setID>> void setID (int ID) { _ID = ID; }

I noticed that the symbols always gets repeated exactly 4 times.

I have the following Cscope related settings in my .vimrc:

if has("cscope") && filereadable("cscope.out")
cscope kill -1
set nocscopeverbose
cscope add cscope.out
set cscopeverbose
endif

Anybody has any idea what is going on?

Hugo

--
--
You received this message from the "vim_use" 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment