-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add menu entries and/or commands to toggle plugins #345
Comments
This sounds like a good idea! I've been planning to rework the commands, so that it's less polluting and more similar to how I implemented it with rustaceanvim: One |
Feature description
Kind of an openended issue.
My initial issue is that I contribute to several haskell packages, and haskell plugins like stan or hlint are noisy in the diagnostics.
To work around this:
Here is what I've tried:
Seems to work. Looking at the HLS doc, it looks like it could be generalized, haskell-tools could parse the available plugins via
--list-plugins
and expose a:HlsTools plugin toggle/enable/disable <plugin>
.Unrelated/more of a general problem but I believe that a good way to expose commands could be to have a function that registers
menu
commands. For my own purpose I have created a local context menu where I add commands but maybe haskell-tools could have aThe text was updated successfully, but these errors were encountered: