Skip to content

Commit 4e62cf8

Browse files
authored
Merge pull request #130 from alanz/refine-imports-setting
Add ability to turn off refine imports
2 parents eb37ac4 + c9514fa commit 4e62cf8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lsp-haskell.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ Turn off to only generate diagnostics on file save."
149149
"Turn on the explicit import lens."
150150
:group 'lsp-haskell-plugins
151151
:type 'boolean)
152+
(defcustom lsp-haskell-refineimports-on
153+
t
154+
"Turn on the refine imports lens."
155+
:group 'lsp-haskell-plugins
156+
:type 'boolean)
152157
(defcustom lsp-haskell-modulename-on
153158
t
154159
"Turn on the moduleName plugin."
@@ -260,6 +265,7 @@ and `lsp-haskell-server-args' and `lsp-haskell-server-wrapper-function'."
260265
("haskell.plugin.retrie.globalOn" lsp-haskell-retrie-on t)
261266
("haskell.plugin.eval.globalOn" lsp-haskell-eval-on t)
262267
("haskell.plugin.importLens.globalOn" lsp-haskell-importlens-on t)
268+
("haskell.plugin.refineImports.globalOn" lsp-haskell-refineimports-on t)
263269
("haskell.plugin.moduleName.globalOn" lsp-haskell-modulename-on t)
264270
("haskell.plugin.hlint.globalOn" lsp-haskell-hlint-on t)))
265271

0 commit comments

Comments
 (0)