Created
August 25, 2025 10:54
-
-
Save even4void/c8a3114fc557fc834b7f305c0cac1031 to your computer and use it in GitHub Desktop.
HLS configuration for Neovim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| cmd = { "haskell-language-server-wrapper", "--lsp" }, | |
| root_markers = { "hie.yaml", "stack.yaml", "cabal.project", ".git" }, | |
| filetypes = { "haskell", "lhaskell" }, | |
| settings = { | |
| haskell = { | |
| formattingProvider = "ormolu", | |
| -- cabalFormattingProvider = "cabalfmt", | |
| maxCompletions = 40, | |
| checkProject = true, | |
| checkParents = "CheckOnSave", | |
| plugin = { | |
| alternateNumberFormat = { globalOn = true }, | |
| callHierarchy = { globalOn = true }, | |
| changeTypeSignature = { globalOn = true }, | |
| class = { | |
| codeActionsOn = true, | |
| codeLensOn = true, | |
| }, | |
| eval = { | |
| globalOn = true, | |
| config = { | |
| diff = true, | |
| exception = true, | |
| }, | |
| }, | |
| excplicitFixity = { globalOn = true }, | |
| gadt = { globalOn = true }, | |
| ["ghcide-code-actions-bindings"] = { globalOn = true }, | |
| ["ghcide-code-actions-fill-holes"] = { globalOn = true }, | |
| ["ghcide-code-actions-imports-exports"] = { globalOn = true }, | |
| ["ghcide-code-actions-type-signatures"] = { globalOn = true }, | |
| ["ghcide-completions"] = { | |
| globalOn = true, | |
| config = { | |
| autoExtendOn = true, | |
| snippetsOn = true, | |
| }, | |
| }, | |
| ["ghcide-hover-and-symbols"] = { | |
| hoverOn = true, | |
| symbolsOn = true, | |
| }, | |
| ["ghcide-type-lenses"] = { | |
| globalOn = true, | |
| config = { | |
| mode = "always", | |
| }, | |
| }, | |
| haddockComments = { globalOn = true }, | |
| hlint = { | |
| codeActionsOn = true, | |
| diagnosticsOn = true, | |
| }, | |
| importLens = { | |
| globalOn = true, | |
| codeActionsOn = true, | |
| codeLensOn = true, | |
| }, | |
| moduleName = { globalOn = true }, | |
| pragmas = { | |
| codeActionsOn = true, | |
| completionOn = true, | |
| }, | |
| qualifyImportedNames = { globalOn = true }, | |
| refineImports = { | |
| codeActionsOn = true, | |
| codeLensOn = true, | |
| }, | |
| rename = { | |
| globalOn = true, | |
| config = { crossModule = true }, | |
| }, | |
| retrie = { globalOn = true }, | |
| splice = { globalOn = true }, | |
| tactics = { | |
| codeActionsOn = true, | |
| codeLensOn = true, | |
| config = { | |
| auto_gas = 4, | |
| hole_severity = nil, | |
| max_use_ctor_actions = 5, | |
| proofstate_styling = true, | |
| timeout_duration = 2, | |
| }, | |
| hoverOn = true, | |
| }, | |
| }, | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment