lang/haskell: fix ESC ESC keybind in REPL; move company-ghc to +dante
This commit is contained in:
parent
a9cbfc7f4e
commit
3e6d9cf03a
3 changed files with 16 additions and 17 deletions
|
@ -20,18 +20,5 @@
|
|||
|
||||
(autoload 'switch-to-haskell "inf-haskell" nil t)
|
||||
(after! inf-haskell
|
||||
(map! :map inferior-haskell-mode-map "ESC ESC" #'doom/popup-close)))
|
||||
|
||||
|
||||
(def-package! company-ghc
|
||||
:when (featurep! :completion company)
|
||||
:after haskell-mode
|
||||
:init
|
||||
(add-hook 'haskell-mode-hook #'ghc-comp-init)
|
||||
:config
|
||||
(unless (executable-find "ghc-mod")
|
||||
(warn! "Couldn't find ghc-mod on PATH. Code completion is disabled."))
|
||||
|
||||
(setq company-ghc-show-info 'oneline)
|
||||
(set! :company-backend 'haskell-mode #'company-ghc))
|
||||
(map! :map inferior-haskell-mode-map "ESC ESC" #'+popup/close)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue