Draw menu configuration per mode #756
Unanswered
gennaro-tedesco
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to avoid showing part of the draw menu when in cmdline mode, for instance see the below example
where all except the command label is redundant. I have tried the following:
but it seems that the condition
ctx.mode == "cmdline"
always defaults tofalse
, perhaps thectx
is not passed in the components module?A similar question has been asked here, in the context of separate
winopts
; this would be the equivalent only for draw menu (perhaps it exists already and I have not found it in the docs?)What is the current suggested approach to only draw specific UI components according to the different completion modes?
Beta Was this translation helpful? Give feedback.
All reactions