Replies: 2 comments
-
I don't think we currently have a wrapper, as no one had an use case in mind for a declarative config. If you have an exemple of how it could be used I think it could easily be implemented |
Beta Was this translation helpful? Give feedback.
0 replies
-
The example and use case I had in mind is exactly the one above, setting buffer-local custom variables for certain filetypes. Many plugins use these kinds of variables and I use my own variables as well to specify selective behavior for certain filetypes. I realize that the gain is not huge, but it also seems easy to do by just using the globals implementation as a blueprint.
…On Thu Nov 28, 2024 at 8:14 PM CET, traxys wrote:
I don't think we currently have a wrapper, as no one had an use case in mind for a declarative config. If you have an exemple of how it could be used I think it could easily be implemented
|
Beta Was this translation helpful? Give feedback.
0 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.
-
Maybe I am missing something, but is there no equivalent option for setting custom buffer-local variables via
vim.b
?I guess I can just do (using the home manager module):
But if would be nice if there was something like the
globals
setting, so that I could do something like this instead:Beta Was this translation helpful? Give feedback.
All reactions