1# stylish-haskell configuration file
2# ==================================
4# The stylish-haskell tool is mainly configured by specifying steps. These steps
5# are a list, so they have an order, and one specific step may appear more than
6# once (if needed). Each file is processed by these steps in the given order.
8 # Convert some ASCII sequences to their Unicode equivalents. This is disabled
11 # # In order to make this work, we also need to insert the UnicodeSyntax
12 # # language pragma. If this flag is set to true, we insert it when it's
13 # # not already present. You may want to disable it if you configure
14 # # language extensions using some other method than pragmas. Default:
16 # add_language_pragma: true
20 # There are different ways we can align names and lists.
22 # - global: Align the import names and import list throughout the entire
25 # - file: Like global, but don't add padding when there are no qualified
26 # imports in the file.
28 # - group: Only align the imports per group (a group is formed by adjacent
31 # - none: Do not perform any alignment.
38 # We can generate different styles of language pragma lists.
40 # - vertical: Vertical-spaced language pragmas, one per line.
42 # - compact: A more compact style.
44 # - compact_line: Similar to compact, but wrap each line with
50 # stylish-haskell can detect redundancy of some language pragmas. If this
51 # is set to true, it will remove those redundant pragmas. Default: true.
52 remove_redundant: true
54 # Align the types in record declarations
57 # Replace tabs by spaces. This is disabled by default.
59 # # Number of spaces to use for each tab. Default: 8, as specified by the
63 # Remove trailing whitespace
64 - trailing_whitespace: {}
66# A common setting is the number of columns (parts of) code will be wrapped
67# to. Different steps take this into account. Default: 80.
70# Sometimes, language extensions are specified in a cabal file or from the
71# command line instead of using language pragmas in the file. stylish-haskell
72# needs to be aware of these, so it can parse the file correctly.
74# No language extensions are enabled by default.
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list