summaryrefslogtreecommitdiffhomepage
path: root/README.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown14
1 files changed, 13 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index 9831935..9520cd1 100644
--- a/README.markdown
+++ b/README.markdown
@@ -65,7 +65,19 @@ into:
Configuration
-------------
-The tool is customizable to some extent.
+The tool is customizable to some extent. It tries to find a config file in the
+following order:
+
+1. A file passed to the tool using the `-c/--config` argument
+2. `.stylish-haskell.yaml` in the current directory (useful for per-project
+ settings)
+3. `.stylish-haskell.yaml` in your home directory (useful for user-wide
+ settings)
+4. The default settings.
+
+Use `stylish-haskell --defaults > .stylish-haskell.yaml` to dump a
+well-documented default configuration to a file, this way you can get started
+quickly.
VIM integration
---------------