Sunday, May 26, 2019

Re: Has window-toolbar feature?

On 26 May 2019, at 13:14, Bram Moolenaar <Bram@moolenaar.net> wrote:
>
>
>> How do you check whether Vim has the window-toolbar (WinBar) feature?
>
> if has('menu')

I have compiled v8.0.0197 (with +menu), has('menu') returns 1, yet it
doesn't seem to have support for window toolbars. Ah ok, helpgrep-ing
window-toolbar explains that it was introduced in Vim 8.0.1123. So, I
guess that has('patch-8.0.0197') && has('menu') is necessary and
sufficient.

Thanks!
Life.

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/923BA5F7-97E3-4457-A6B8-DF550EE0779F%40icloud.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment