Please sign in to comment.
Added support for configuration files
Configuration files use the same format as the --config string (except that commas can be replaced by newlines), and can be placed in ~/.ocp/ocp-indent.conf, or in a .ocp-indent file in any parent directory. This provides a convenient way to have per-project setups that can be easily shared by any contributor. Setting the ocp-indent-config variable in emacs-customise is now deprecated.
- Loading branch information...
Showing with 196 additions and 28 deletions.
|@@ -0,0 +1,10 @@|
|+# This is an example of configuration file; any file below this directory will|
|+# inherit from it, unless another conf-file is found.|
|+base = 2|
|+type = 2|
|+in = 0|
|+with = 0|
|+strict_with = never|
|+match_clause = 4 # this is non-default|
|+strict_comments = false|
|+align_params = auto|
|@@ -0,0 +1 @@|