From e662d09c53fabb7b55cfdbb098eb276f139c0d5b Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Wed, 6 Jun 2012 11:47:29 +0200 Subject: More notes on configuration --- README.markdown | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'README.markdown') 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 --------------- -- cgit v1.2.3