Replies: 2 comments 2 replies
-
Hey @fikovnik! Thanks for showing this! I just tried it out and indeed it works as expected. So this brings up a couple different things. Originally we added support for some extra things like metals status and metals slow task because the LSP spec at the time was lacking certain things we needed. That's however no longer the case. In reality I really wish we'd just switch to using built-it parts of LSP like progress. We actually have an old ticket about this here.
I'm sort of unsure here. I've tried hard to not add many extensions to nvim-metals apart from the core. I do have a Telescope extension, but I've even considerered removing that now that we have |
Beta Was this translation helpful? Give feedback.
-
I completely understand that you want to keep things minimal, that makes perfect sense.
Not entirely sure what do you mean by this? A question: with the function above, does one still need to set the statusBarProvider? metals_config.init_options.statusBarProvider = 'on' |
Beta Was this translation helpful? Give feedback.
-
fidget provides a UI for the nvim-lsp's progress handler.
It is a nice alternative to just having the info in the statusline.
I found the following function which integrates it with nvim-metals:
courtesy of https://github.com/pca006132/dotfiles/blob/master/nvim/lsp.lua#L69
and it seems to work rather well.
I was wondering if it would make sense to become a part of nvim-metals (after tweaking)?
Beta Was this translation helpful? Give feedback.
All reactions