Skip to content

Commit 2fe66f6

Browse files
author
Julien Debon
committed
Realign options with HLS master branch
1 parent 4bb4aff commit 2fe66f6

File tree

1 file changed

+149
-3
lines changed

1 file changed

+149
-3
lines changed

lsp-haskell.el

+149-3
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,138 @@ but will take exponentially more time."
241241
:package-version '(lsp-mode . "8.0.1")
242242
:lsp-path "haskell.plugin.cabal.completionOn")
243243

244+
(lsp-defcustom lsp-haskell-plugin-pragmas-suggest-global-on t
245+
"Enables pragmas-suggest plugin"
246+
:type 'boolean
247+
:group 'lsp-haskell-plugins
248+
:package-version '(lsp-mode . "8.0.1")
249+
:lsp-path "haskell.plugin.pragmas-suggest.globalOn")
250+
251+
(lsp-defcustom lsp-haskell-plugin-alternate-number-format-global-on t
252+
"Enables alternateNumberFormat plugin"
253+
:type 'boolean
254+
:group 'lsp-haskell-plugins
255+
:package-version '(lsp-mode . "8.0.1")
256+
:lsp-path "haskell.plugin.alternateNumberFormat.globalOn")
257+
258+
(lsp-defcustom lsp-haskell-plugin-call-hierarchy-global-on t
259+
"Enables callHierarchy plugin"
260+
:type 'boolean
261+
:group 'lsp-haskell-plugins
262+
:package-version '(lsp-mode . "8.0.1")
263+
:lsp-path "haskell.plugin.callHierarchy.globalOn")
264+
265+
(lsp-defcustom lsp-haskell-plugin-change-type-signature-global-on t
266+
"Enables changeTypeSignature plugin"
267+
:type 'boolean
268+
:group 'lsp-haskell-plugins
269+
:package-version '(lsp-mode . "8.0.1")
270+
:lsp-path "haskell.plugin.changeTypeSignature.globalOn")
271+
272+
(lsp-defcustom lsp-haskell-plugin-class-code-actions-on t
273+
"Enables class code actions"
274+
:type 'boolean
275+
:group 'lsp-haskell-plugins
276+
:package-version '(lsp-mode . "8.0.1")
277+
:lsp-path "haskell.plugin.class.codeActionsOn")
278+
279+
(lsp-defcustom lsp-haskell-plugin-class-code-lens-on t
280+
"Enables class code lenses"
281+
:type 'boolean
282+
:group 'lsp-haskell-plugins
283+
:package-version '(lsp-mode . "8.0.1")
284+
:lsp-path "haskell.plugin.class.codeLensOn")
285+
286+
(lsp-defcustom lsp-haskell-plugin-eval-config-diff t
287+
"Enable the diff output (WAS/NOW) of eval lenses"
288+
:type 'boolean
289+
:group 'lsp-haskell-plugins
290+
:package-version '(lsp-mode . "8.0.1")
291+
:lsp-path "haskell.plugin.eval.config.diff")
292+
293+
(lsp-defcustom lsp-haskell-plugin-eval-config-exception nil
294+
"Enable marking exceptions with `*** Exception:` similarly to doctest and GHCi."
295+
:type 'boolean
296+
:group 'lsp-haskell-plugins
297+
:package-version '(lsp-mode . "8.0.1")
298+
:lsp-path "haskell.plugin.eval.config.exception")
299+
300+
(lsp-defcustom lsp-haskell-plugin-explicit-fields-global-on t
301+
"Enables explicit-fields plugin"
302+
:type 'boolean
303+
:group 'lsp-haskell-plugins
304+
:package-version '(lsp-mode . "8.0.1")
305+
:lsp-path "haskell.plugin.explicit-fields.globalOn")
306+
307+
(lsp-defcustom lsp-haskell-plugin-explicit-fixity-global-on t
308+
"Enables explicit-fixity plugin"
309+
:type 'boolean
310+
:group 'lsp-haskell-plugins
311+
:package-version '(lsp-mode . "8.0.1")
312+
:lsp-path "haskell.plugin.explicit-fixity.globalOn")
313+
314+
(lsp-defcustom lsp-haskell-plugin-fourmolu-config-external nil
315+
"Call out to an external "fourmolu" executable, rather than using the bundled library"
316+
:type 'boolean
317+
:group 'lsp-haskell-plugins
318+
:package-version '(lsp-mode . "8.0.1")
319+
:lsp-path "haskell.plugin.fourmolu.config.external")
320+
321+
(lsp-defcustom lsp-haskell-plugin-gadt-global-on t
322+
"Enables gadt plugin"
323+
:type 'boolean
324+
:group 'lsp-haskell-plugins
325+
:package-version '(lsp-mode . "8.0.1")
326+
:lsp-path "haskell.plugin.gadt.globalOn")
327+
328+
(lsp-defcustom lsp-haskell-plugin-ghcide-code-actions-bindings-global-on t
329+
"Enables ghcide-code-actions-bindings plugin"
330+
:type 'boolean
331+
:group 'lsp-haskell-plugins
332+
:package-version '(lsp-mode . "8.0.1")
333+
:lsp-path "haskell.plugin.ghcide-code-actions-bindings.globalOn")
334+
335+
(lsp-defcustom lsp-haskell-plugin-ghcide-code-actions-fill-holes-global-on t
336+
"Enables ghcide-code-actions-fill-holes plugin"
337+
:type 'boolean
338+
:group 'lsp-haskell-plugins
339+
:package-version '(lsp-mode . "8.0.1")
340+
:lsp-path "haskell.plugin.ghcide-code-actions-fill-holes.globalOn")
341+
342+
(lsp-defcustom lsp-haskell-plugin-ghcide-code-actions-imports-exports-global-on t
343+
"Enables ghcide-code-actions-imports-exports plugin"
344+
:type 'boolean
345+
:group 'lsp-haskell-plugins
346+
:package-version '(lsp-mode . "8.0.1")
347+
:lsp-path "haskell.plugin.ghcide-code-actions-imports-exports.globalOn")
348+
349+
(lsp-defcustom lsp-haskell-plugin-ghcide-code-actions-type-signatures-global-on t
350+
"Enables ghcide-code-actions-type-signatures plugin"
351+
:type 'boolean
352+
:group 'lsp-haskell-plugins
353+
:package-version '(lsp-mode . "8.0.1")
354+
:lsp-path "haskell.plugin.ghcide-code-actions-type-signatures.globalOn")
355+
356+
(lsp-defcustom lsp-haskell-plugin-ghcide-completions-global-on t
357+
"Enables ghcide-completions plugin"
358+
:type 'boolean
359+
:group 'lsp-haskell-plugins
360+
:package-version '(lsp-mode . "8.0.1")
361+
:lsp-path "haskell.plugin.ghcide-completions.globalOn")
362+
363+
(lsp-defcustom lsp-haskell-plugin-ghcide-hover-and-symbols-hover-on t
364+
"Enables ghcide-hover-and-symbols hover"
365+
:type 'boolean
366+
:group 'lsp-haskell-plugins
367+
:package-version '(lsp-mode . "8.0.1")
368+
:lsp-path "haskell.plugin.ghcide-hover-and-symbols.hoverOn")
369+
370+
(lsp-defcustom lsp-haskell-plugin-ghcide-hover-and-symbols-symbols-on t
371+
"Enables ghcide-hover-and-symbols symbols"
372+
:type 'boolean
373+
:group 'lsp-haskell-plugins
374+
:package-version '(lsp-mode . "8.0.1")
375+
:lsp-path "haskell.plugin.ghcide-hover-and-symbols.symbolsOn")
244376

245377
(lsp-defcustom lsp-haskell-plugin-overloaded-record-dot-global-on t
246378
"Enables overloaded-record-dot plugin"
@@ -263,12 +395,26 @@ but will take exponentially more time."
263395
:package-version '(lsp-mode . "8.0.1")
264396
:lsp-path "haskell.plugin.pragmas-disable.globalOn")
265397

266-
(lsp-defcustom lsp-haskell-plugin-pragmas-suggest-global-on t
267-
"Enables pragmas-suggest plugin"
398+
(lsp-defcustom lsp-haskell-plugin-qualify-imported-names-global-on t
399+
"Enables qualifyImportedNames plugin"
268400
:type 'boolean
269401
:group 'lsp-haskell-plugins
270402
:package-version '(lsp-mode . "8.0.1")
271-
:lsp-path "haskell.plugin.pragmas-suggest.globalOn")
403+
:lsp-path "haskell.plugin.qualifyImportedNames.globalOn")
404+
405+
(lsp-defcustom lsp-haskell-plugin-rename-config-cross-module nil
406+
"Enable experimental cross-module renaming"
407+
:type 'boolean
408+
:group 'lsp-haskell-plugins
409+
:package-version '(lsp-mode . "8.0.1")
410+
:lsp-path "haskell.plugin.rename.config.crossModule")
411+
412+
(lsp-defcustom lsp-haskell-plugin-rename-global-on t
413+
"Enables rename plugin"
414+
:type 'boolean
415+
:group 'lsp-haskell-plugins
416+
:package-version '(lsp-mode . "8.0.1")
417+
:lsp-path "haskell.plugin.rename.globalOn")
272418

273419
;; ---------------------------------------------------------------------
274420
;; Non-language server options

0 commit comments

Comments
 (0)