Created
January 23, 2021 09:11
-
-
Save smatting/799ffdf03eb61efd12c27d1f7c951929 to your computer and use it in GitHub Desktop.
dir locals
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
| ;; ((haskell-mode | |
| ;; (haskell-completion-backend . lsp))) | |
| ((haskell-mode . ((haskell-completion-backend . lsp) | |
| (lsp-haskell-server-wrapper-function . (lambda (argv) | |
| (append | |
| (append (list "nix-shell" "-I" "." "--command" ) | |
| (list (mapconcat 'identity argv " ")) | |
| ) | |
| (list (concat (lsp-haskell--get-root) "/shell.nix")) | |
| ) | |
| )) | |
| (mode . ormolu-format-on-save) | |
| ) | |
| )) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment