116375Re: need help with tags - SOLVED (sort of)
- Aug 6, 2010On 02/08/10 17:27, wfdudley wrote:
> I decided that the problem has to be in the EXINIT string, since that isThere is one important effect of 'ignorecase' on Vim's tags subsystem's
> the only difference in the accounts that don't work, and my account.
> I find that if I set EXINIT to "ic" EXINIT="set ic", then tags works.
> I can't explain this. The case of the tags in my tags file is exactly the
> same case as the symbols referenced in the source code.
> Bill Dudley
behaviour, and here it is: when using a sorted tags file and binary
search to make tags finding faster, the tags file must be sorted
case-folded (b between A and C) if 'ignorecase' is on, it must be sorted
on ASCII value (a after Z) if 'ignorecase' is off. If the file uses the
wrong sort order you must tell Vim not to use binary search.
The tags file can contain a header line indicating whether it is
unsorted, ASCII-sorted or casefold-sorted. Of course, if you re-sort the
file, the flag in that line must be changed.
See :help 'tagbsearch' for details.
I'll grant thee random access to my heart,
Thoul't tell me all the constants of thy love;
And so we two shall all love's lemmas prove
And in our bound partition never part.
-- Stanislaw Lem, "Cyberiad"
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
- << Previous post in topic