[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make gtags.vim work for any dir
From: |
Andrey Butirsky |
Subject: |
Re: make gtags.vim work for any dir |
Date: |
Fri, 25 Jan 2019 18:05:45 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Thunderbird/65.0 |
On 25.01.2019 05:21, Shigio YAMAGUCHI wrote:
> I see.
>
> Since the new feature seems to be incompatible with the past, it is preferable
> to implement it as a new mode like 'Gtags_No_Auto_Jump'.
>
> Could you write the specification and usage of the feature at the head of
> 'gtags.vim' for users?
I'm not sure we still need old behavior. Anyway, I think we could
"emulate" it without code changing, just by setting GTAGSROOT
environment variable.
In the 'gtags.vim', we could write something like this note:
" Global will search for it's tag databases starting from the current file's
path upwards.
" If you need precise database location, set GTAGSROOT environment variable to
it's path directory before you start Vim or in your vimrc file.
" If there no files opened, the search is started from current directory.
"
" :e /project1/subdir/lib.c
" :Gtags main <- from now on, search
/project1/subdir, /project1, / for GTAGS.
" :e /project2/main.c
" :Gtags main <- from now on, search /project2, / for
GTAGS.
- Re: make gtags.vim work for any dir, (continued)
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/23
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/23
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/23
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/23
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/24
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/24
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/24
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/24
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/24
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/24
Re: make gtags.vim work for any dir,
Andrey Butirsky <=
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/25
- Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/25
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/25
- Re: make gtags.vim work for any dir, Andrey, 2019/01/26
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/26
- Re: make gtags.vim work for any dir, Andrey, 2019/01/26
- Re: make gtags.vim work for any dir, Shigio YAMAGUCHI, 2019/01/26
- Re: make gtags.vim work for any dir, Andrey, 2019/01/26
Re: make gtags.vim work for any dir, Andrey, 2019/01/26
Re: make gtags.vim work for any dir, Andrey Butirsky, 2019/01/26