> I agree that a different function would be more useful. I prefer
> haslocaldir(). This would return zero when the current window uses the
> global directory, one when it has a local directory. Later we could add
> an argument for selecting the window.
>
> If you agree, and nobody has something to say on this, can you change
> your patch?
Done. Please see attached.
On a patch that adds a builtin function, should I alter
runtime/syntax/vim.vim as well to recognize that function? The
comment under the function syntax keyword specification indicates that
it is auto-generated, so I left it alone.
Thank you,
bob