File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 74
74
(end (match-end 1 )))
75
75
(list start end
76
76
(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'
78
79
((and (nth 4 (syntax-ppss ))
79
80
(save-excursion
80
81
(let ((p (point )))
84
85
(rx symbol-start " -" (* (char alnum ?- )))
85
86
(line-beginning-position )))
86
87
(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'
88
90
((and (nth 4 (syntax-ppss ))
89
91
(save-excursion
90
92
(let ((p (point )))
You can’t perform that action at this time.
0 commit comments