Skip to content

Commit 885332f

Browse files
committed
Replace old completion function with new one
1 parent a814671 commit 885332f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

haskell.el

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
(require 'haskell-sandbox)
2929
(require 'haskell-modules)
3030
(require 'haskell-string)
31+
(require 'haskell-completions)
3132

3233
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3334
;; Basic configuration hooks
@@ -54,7 +55,10 @@
5455
"Minor mode for enabling haskell-process interaction."
5556
:lighter " Interactive"
5657
:keymap interactive-haskell-mode-map
57-
(add-hook 'completion-at-point-functions 'haskell-process-completions-at-point nil t))
58+
(add-hook 'completion-at-point-functions
59+
#'haskell-completions-sync-completions-at-point
60+
nil
61+
t))
5862

5963
(defun haskell-process-completions-at-point ()
6064
"A completion-at-point function using the current haskell process."

0 commit comments

Comments
 (0)