Replies: 1 comment 2 replies
-
Thanks for the suggestion! This was already discussed in #1552 with the following resolution and motivation behind it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Many mini features can be disabled using the same flag pattern by using
vim.g.<minifeature>_disable
orvim.b.<minifeature>_disable>
depending on the scope (Global or buffer-wise). When any scope is set totrue
the feature is disabled.I would like to suggest that buffer variables takes precedence over global variables.
For example:
This could easily be done using
vim.F.if_nil
I suggested this, because I particularly would like indentscope to be disabled by default, and enable only on buffers that I want, so I disable it globally after
setup()
and would change the buffer flag on the buffers I want using a command or keymap.Beta Was this translation helpful? Give feedback.
All reactions