Skip to content

Add ability to turn off refine imports #130

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

Merged
merged 1 commit into from
Aug 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lsp-haskell.el
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ Turn off to only generate diagnostics on file save."
"Turn on the explicit import lens."
:group 'lsp-haskell-plugins
:type 'boolean)
(defcustom lsp-haskell-refineimports-on
t
"Turn on the refine imports lens."
:group 'lsp-haskell-plugins
:type 'boolean)
(defcustom lsp-haskell-modulename-on
t
"Turn on the moduleName plugin."
Expand Down Expand Up @@ -260,6 +265,7 @@ and `lsp-haskell-server-args' and `lsp-haskell-server-wrapper-function'."
("haskell.plugin.retrie.globalOn" lsp-haskell-retrie-on t)
("haskell.plugin.eval.globalOn" lsp-haskell-eval-on t)
("haskell.plugin.importLens.globalOn" lsp-haskell-importlens-on t)
("haskell.plugin.refineImports.globalOn" lsp-haskell-refineimports-on t)
("haskell.plugin.moduleName.globalOn" lsp-haskell-modulename-on t)
("haskell.plugin.hlint.globalOn" lsp-haskell-hlint-on t)))

Expand Down