Skip to content

possible to toggle showing implicits #188

Answered by ckipp01
stumash asked this question in Q&A
Discussion options

You must be logged in to vote

So in theory, yes there is. These settings are simply passed to metals as UserConfiguration settings that Metals can be notified of using a didChangeConfiguration 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…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@stumash
Comment options

@ckipp01
Comment options

@stumash
Comment options

@ckipp01
Comment options

Answer selected by stumash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants