summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2011-06-12 20:42:22 +0200
committerBram Moolenaar <bram@vim.org>2011-06-12 20:42:22 +0200
commit61550eff1fb48eb778da00d491e797f3cd2552ae (patch)
tree5f8b1a8aa78d7765818e444422510798d130e657 /runtime
parented225cd4216e6a5b0c0c6da27762640fd14650aa (diff)
downloadvim-61550eff1fb48eb778da00d491e797f3cd2552ae.tar.gz
updated for version 7.3.210v7.3.210v7-3-210
Problem: Can't always find the file when using cscope. Solution: Add the 'cscoperelative' option. (Raghavendra D Prabhu)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/if_cscop.txt9
-rw-r--r--runtime/doc/options.txt10
2 files changed, 19 insertions, 0 deletions
diff --git a/runtime/doc/if_cscop.txt b/runtime/doc/if_cscop.txt
index 91dd4c64..f3f1a497 100644
--- a/runtime/doc/if_cscop.txt
+++ b/runtime/doc/if_cscop.txt
@@ -271,6 +271,15 @@ 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.
If 'csto' is set to zero, cscope database(s) are searched first, followed
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index a5f61480..5759760a 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