ADD haskell suggestions and jump shortcut

This commit is contained in:
Nathan Dwarshuis 2020-03-24 20:56:49 -04:00
parent 3860b4913c
commit bfa9d7b405
1 changed files with 5 additions and 1 deletions

View File

@ -870,7 +870,10 @@ I have also found this to be much simpler and conflicting with other packages su
;; cabal build command to be stack ;; cabal build command to be stack
haskell-compile-cabal-build-command "stack build" haskell-compile-cabal-build-command "stack build"
;; use stylish (requires the stylish binary somewhere in $PATH) ;; use stylish (requires the stylish binary somewhere in $PATH)
haskell-stylish-on-save t)) haskell-stylish-on-save t
;; use some handy suggestions
haskell-process-suggest-remove-import-lines t
haskell-process-auto-import-loaded-modules t))
;; this minor mode name is long and unnecessary ;; this minor mode name is long and unnecessary
(delight 'interactive-haskell-mode nil "haskell") (delight 'interactive-haskell-mode nil "haskell")
@ -3822,6 +3825,7 @@ The only thing I like about elpy is the interactive shell
(nd/hydra-standard-nav (nd/hydra-standard-nav
haskell-mode-map haskell-mode-map
(:asgn-at . haskell-mode-jump-to-def)
(:type-at . haskell-process-do-type-at) (:type-at . haskell-process-do-type-at)
(:pop-marker-stack . xref-pop-marker-stack) (:pop-marker-stack . xref-pop-marker-stack)
(:doc-at . haskell-process-do-info))) (:doc-at . haskell-process-do-info)))