diff --git a/doc/sleuth.txt b/doc/sleuth.txt index 7dd2bf3..76020f7 100644 --- a/doc/sleuth.txt +++ b/doc/sleuth.txt @@ -79,5 +79,15 @@ Sleuth forces |:filetype-indent-on| by default, which enables file-type specific indenting algorithms and is highly recommended. To opt out: > let g:sleuth_no_filetype_indent_on = 1 +< + *g:sleuth_editorconfig_overrides* +The value can be a relative or absolute path, or an empty string to disable +the file without replacing it. On Windows, forward slashes must be used. + +This is a solution to the problem of a repository including a poorly +considered .editorconfig that can't easily be changed. +> + let g:sleuth_editorconfig_overrides = { + \ expand('~/bad/repo/.editorconfig'): '.editorconfig.mine'} < vim:tw=78:et:ft=help:norl: