Skip to content

Commit f2a8e0b

Browse files
committed
Group and docs for -language-extensions (#730)
1 parent a814671 commit f2a8e0b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

haskell-customize.el

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,16 @@ when Data.Map is the candidate.
324324

325325
(defcustom haskell-language-extensions
326326
'()
327-
"Language extensions in use. Should be in format: -XFoo, -XNoFoo etc."
328-
:group 'shm
327+
"Language extensions in use. Should be in format: -XFoo,
328+
-XNoFoo etc. The idea is that various tools written with HSE (or
329+
any haskell-mode code that needs to be aware of syntactical
330+
properties; such as an indentation mode) that don't know what
331+
extensions to use can use this variable. Examples: hlint,
332+
hindent, structured-haskell-mode, tool-de-jour, etc.
333+
334+
You can set this per-project with a .dir-locals.el file, in the
335+
same vein as `haskell-indent-spaces'."
336+
:group 'haskell
329337
:type '(repeat 'string))
330338

331339
(defcustom haskell-ghc-supported-extensions

0 commit comments

Comments
 (0)