-
I see that there are configuration options on setup for showing Is there a way to toggle these options while |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
So in theory, yes there is. These settings are simply passed to metals as |
Beta Was this translation helpful? Give feedback.
So in theory, yes there is. These settings are simply passed to metals as
UserConfiguration
settings that Metals can be notified of using adidChangeConfiguration
notification. The tricky part is that this currently is really only sent once, right after the initialize phase. Editors that have a configuration file of sorts that can be updated on the fly by the editor can change the values and re-send the notification, making this easy to do. However, since the configuration for nvim-metals is read in once and then that's sort of it, we'll have to play around a bit with how to achieve this. It's doable, but the persisting may be the problem. Since if you close it with the setting on, but do…