Mercurial > vim
diff runtime/doc/if_cscop.txt @ 2873:eeb1ac4f66d1 v7.3.210
updated for version 7.3.210
Problem: Can't always find the file when using cscope.
Solution: Add the 'cscoperelative' option. (Raghavendra D Prabhu)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 12 Jun 2011 20:42:22 +0200 |
parents | fae782ef63dd |
children | fd09a9c8468e |
line wrap: on
line diff
--- a/runtime/doc/if_cscop.txt +++ b/runtime/doc/if_cscop.txt @@ -271,6 +271,15 @@ tag files. The default is off. Example :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