Monday, May 31, 2010

Re: plugins don't work on newer version

thank you! it worked now, but I need copy those plugins to ~/.vim/plugin/

if those plugins locate at /usr/share/vim/vim70/plugin/ it don't work.but, version 7.0 can work

I don't why.

On Mon, May 31, 2010 at 6:33 PM, Marc Weber <marco-oweber@gmx.de> wrote:
Hi taco,

make sure your plugin is loaded.
Did it define *any* command?

You can debug this by opening the tlist.vim file adding a debug line
such as

echoe "This file was sourced"

at top.

If you neither see a red line printing this text nor find this text when
running :messages the file was not sourced.

If you know that's sourced look for "finish" and make sure that the
lines after that word are executed as well.

if this happens try to find the word "command" or com which is the
abbreviation for it. That should define those Tlist commands.
add the echoe line before and after those lines defining those commands.
Are those lines executed on startup as well?

If this happens and if you still don't have those commands something may
be broken. Post your results.

Marc Weber

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

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

No comments:

Post a Comment