From 2f982e4fabf27806d96cedd34d0f1823a3fc52c0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 12 Jun 2011 20:42:22 +0200 Subject: updated for version 7.3.210 Problem: Can't always find the file when using cscope. Solution: Add the 'cscoperelative' option. (Raghavendra D Prabhu) --- runtime/doc/if_cscop.txt | 9 +++++++++ runtime/doc/options.txt | 10 ++++++++++ 2 files changed, 19 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/if_cscop.txt b/runtime/doc/if_cscop.txt index 91dd4c64e6..f3f1a49702 100644 --- a/runtime/doc/if_cscop.txt +++ b/runtime/doc/if_cscop.txt @@ -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. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index a5f614800d..5759760a1c 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -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 -- cgit v1.2.3