1
0
forked from aniani/vim

updated for version 7.3.210

Problem:    Can't always find the file when using cscope.
Solution:   Add the 'cscoperelative' option. (Raghavendra D Prabhu)
This commit is contained in:
Bram Moolenaar
2011-06-12 20:42:22 +02:00
parent 536d95f617
commit 2f982e4fab
4 changed files with 56 additions and 16 deletions

View File

@@ -270,6 +270,15 @@ setting 'cst', you will always search your cscope databases as well as your
tag files. The default is off. Examples: >
:set cst
:set nocst
<
*cscoperelative* *csre*
If 'cscoperelative' set, then in absence of a prefix given to cscope (prefx
is the argument to -P option of cscope), basename of cscope.out location
(usually the project root directory) will be used as the prefix to construt
absolute path.The default is off. Note: This option is only effective when
cscope (cscopeprg) is initialized without a prefix path (-P). Examples: >
:set csre
:set nocsre
<
*cscopetagorder* *csto*
The value of 'csto' determines the order in which |:cstag| performs a search.

View File

@@ -2209,6 +2209,16 @@ A jump table for the options with a short description can be found at |Q_op|.
Specifies whether to use quickfix window to show cscope results.
See |cscopequickfix|.
*'cscoperelative'* *'csre'*
'cscoperelative' 'csre' boolean (default off)
global
{not available when compiled without the |+cscope|
feature}
{not in Vi}
In the absence of a prefix (-P) for cscope. setting this option enables
to use the basename of cscope.out path as the prefix.
See |cscoperelative|.
*'cscopetag'* *'cst'* *'nocscopetag'* *'nocst'*
'cscopetag' 'cst' boolean (default off)
global