Commit graph

2 commits

Author SHA1 Message Date
dathegreat
f15c3f377a lsp/presets/haskell-language-server.nix: Add cabal-fmt as an extra package if lsp is enabled
Otherwise, formatting a .cabal file throws an error that cabal-fmt can't
be found. This is especially annoying if saving => formatting, because
each save throws an error which must be escaped.
2026-05-10 23:20:15 +02:00
dathegreat
a97aa7d724 languages/haskell.nix: address PR comments
- Rename hls -> haskell-language-server to match the nixpkgs name
- Remove unneeded injection
- Only set lsp filetypes in the language module, not the preset
- Remove unneeded `mkDefault`
- Use `root_markers` instead of yucky inline Lua
2026-05-10 23:20:15 +02:00