Bob Hiestand wrote: > > > 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.
Charles Campbell will send me an updated Vim syntax file later. I don't think this change is important enough to patch it right now. -- A)bort, R)etry, D)o it right this time /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///