koffee wrote:
So I have a tag file under current dir. Now gvim, echo tagfiles() will show that tag file. Now if I :e . to invoke netrw, if I do :echo tagfiles() again, I'll see the tag files list is emptied.

This only happens on my Ubuntu Natty box, not repro on my Win7 machine.

Any idea what could go wrong?

Hello,

I'm afraid that I can't successfully reproduce this problem; I'm using a Fedora Core 9 box.

Letting netrw.vimrc be:
set nocp
so $HOME/.vim/plugin/netrwPlugin.vim
set tags=$HOME/.HDR/tags

Then

vim -u netrw.vimrc junk
:echo tagfiles()
   shows   ['.HDR/tags']

:e .       (this invokes a netrw listing)
:echo tagfiles()
   shows   ['.HDR/tags']

I've also tried this with

 vim -u netrw.vimrc junk
 :set tags^=tags
 :echo tagfiles()
   shows ['tags', '/home/cec/.HDR/tags']
 :e .
 :echo tagfiles()
   shows ['tags', '/home/cec/.HDR/tags']

In neither case is netrw changing the tags setting.

Regards,
Chip Campbell


--
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

Reply via email to