Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions haskell-customize.el
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,9 @@ when Data.Map is the candidate.
:group 'shm
:type '(repeat 'string))

(defcustom haskell-ghc-supported-languages
(defcustom haskell-ghc-supported-extensions
(split-string (shell-command-to-string "ghc --supported-extensions"))
"List of language pragmas supported by the installed version of GHC."
"List of language extensions supported by the installed version of GHC."
:group 'haskell
:type '(repeat string))

Expand Down
2 changes: 1 addition & 1 deletion haskell.el
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
(search-forward-regexp "\\_<LANGUAGE\\_>" p t))))
(setq symbol-bounds (bounds-of-thing-at-point 'symbol)))
(list (car symbol-bounds) (cdr symbol-bounds)
haskell-ghc-supported-languages))
haskell-ghc-supported-extensions))
((setq symbol-bounds (bounds-of-thing-at-point 'symbol))
(cl-destructuring-bind (start . end) symbol-bounds
(list start end
Expand Down