ADD haskell suggestions and jump shortcut
This commit is contained in:
parent
3860b4913c
commit
bfa9d7b405
|
@ -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)))
|
||||||
|
|
Loading…
Reference in New Issue