forked from haskell/haskell-language-server
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.stylish-haskell.yaml
77 lines (64 loc) · 1.47 KB
/
.stylish-haskell.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# See https://github.com/jaspervdj/stylish-haskell/blob/main/data/stylish-haskell.yaml
# for reference.
steps:
# - unicode_syntax:
# add_language_pragma: true
# - module_header:
# indent: 4
# sort: true
# separate_lists: true
# - records:
# equals: "indent 2"
# first_field: "indent 2"
# field_comment: 2
# deriving: 2
# via: "indent 2"
# sort_deriving: true
# break_enums: false
# break_single_constructors: true
# curried_context: false
- simple_align:
cases: always
top_level_patterns: always
records: always
multi_way_if: always
- imports:
align: global
list_align: after_alias
pad_module_names: true
long_list_align: inline
empty_list_align: inherit
list_padding: 4
separate_lists: true
space_surround: false
ghc_lib_parser: false
- language_pragmas:
style: vertical
align: true
remove_redundant: true
language_prefix: LANGUAGE
# - tabs:
# spaces: 8
- trailing_whitespace: {}
# - squash: {}
columns: 80
newline: native
language_extensions:
- BangPatterns
- DataKinds
- DeriveFunctor
- DeriveGeneric
- FlexibleContexts
- GeneralizedNewtypeDeriving
- KindSignatures
- LambdaCase
- NamedFieldPuns
- OverloadedStrings
- RecordWildCards
- ScopedTypeVariables
- StandaloneDeriving
- TupleSections
- TypeApplications
- TypeOperators
- ViewPatterns
cabal: true