Monday, May 10, 2010

Re: Incorrect information in ":help autochdir"

Hi Dominique!

On Mo, 10 Mai 2010, Dominique Pellé wrote:

> Should there be a +autochdir feature? So has('autochdir')
> could be used to check whether 'autochdir' is available.
>
> Or should the doc simply say that 'autochdir' is available:
> - if |+netbeans_intg| or |+sun_workshop| feature is available
> - or if Vim is compiled with "big" or "huge" features

I don't know. However...

> But then it's awkward to check whether 'autochdir' is available.

exists('+autochdir') should work. See :h exists()

regards,
Christian

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