From d1b2450cedd169335fe7bc03efa42777a31fdb51 Mon Sep 17 00:00:00 2001 From: Dhananjay Date: Sat, 6 Jul 2024 19:27:14 +0530 Subject: [PATCH] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 11dd14e..d342be6 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,11 @@ Heavily inspired by emacs' [xcscope.el](https://github.com/dkogan/xcscope.el). ### Cscope DB -- No need to add cscope database, it is automatically picked from current directory or `db_file` option. +- Statically provide table of db paths in config (`db_file`) OR add them at runtime using `:Cs db add ...` - `:Cs db add ` add db file(s) to cscope search. - `:Cs db rm ` remove db file(s) from cscope search. - `:Cs db show` show all db connections. -- `:Cs db build` builds cscope db of primary db. +- `:Cs db build` (re)builds db for primary db. - `vim.g.cscope_maps_statusline_indicator` can be used in statusline to indicate ongoing db build. - DB path grammar - `db_file:db_pre_path` db_pre_path (prefix path) will be appended to cscope results. @@ -91,8 +91,6 @@ _cscope_maps_ comes with following defaults: -- when table of DBs is provided - -- first DB is "primary" and others are "secondary" -- primary DB is used for build and project_rooter - -- secondary DBs must be built with absolute paths - -- or paths relative to cwd. Otherwise JUMP will not work. -- cscope executable exec = "cscope", -- "cscope" or "gtags-cscope" -- choose your fav picker