diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-06-12 20:42:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-06-12 20:42:22 +0200 |
commit | 2f982e4fabf27806d96cedd34d0f1823a3fc52c0 (patch) | |
tree | 3d36b24aa262c92e0edaece377ce2d3ed5c46f1b /runtime/doc | |
parent | 536d95f6171b75093e7dc2894144a9bd44a85895 (diff) | |
download | vim-2f982e4fabf27806d96cedd34d0f1823a3fc52c0.zip |
updated for version 7.3.210
Problem: Can't always find the file when using cscope.
Solution: Add the 'cscoperelative' option. (Raghavendra D Prabhu)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/if_cscop.txt | 9 | ||||
-rw-r--r-- | runtime/doc/options.txt | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/runtime/doc/if_cscop.txt b/runtime/doc/if_cscop.txt index 91dd4c64e..f3f1a4970 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 a5f614800..5759760a1 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 |