Skip to content

Commit 92bd153

Browse files
committed
Update outdated commentaries
1 parent 10a4952 commit 92bd153

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

haskell.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
(end (match-end 1)))
7575
(list start end
7676
(haskell-process-get-repl-completions process text))))
77-
;; Complete OPTIONS using :complete repl ":set ..."
77+
;; Complete OPTIONS, a completion list comes from variable
78+
;; `haskell-ghc-supported-options'
7879
((and (nth 4 (syntax-ppss))
7980
(save-excursion
8081
(let ((p (point)))
@@ -84,7 +85,8 @@
8485
(rx symbol-start "-" (* (char alnum ?-)))
8586
(line-beginning-position)))
8687
(list (match-beginning 0) (match-end 0) haskell-ghc-supported-options))
87-
;; Complete LANGUAGE :complete repl ":set -X..."
88+
;; Complete LANGUAGE, a list of completions comes from variable
89+
;; `haskell-ghc-supported-options'
8890
((and (nth 4 (syntax-ppss))
8991
(save-excursion
9092
(let ((p (point)))

0 commit comments

Comments
 (0)