File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -79,5 +79,16 @@ Sleuth forces |:filetype-indent-on| by default, which enables file-type
79
79
specific indenting algorithms and is highly recommended. To opt out:
80
80
>
81
81
let g:sleuth_no_filetype_indent_on = 1
82
+ <
83
+ *g:sleuth_editorconfig_overrides*
84
+ The value can be a relative or absolute path, or an empty string to disable
85
+ the file without replacing it. On Windows, forward slashes must be used.
86
+
87
+ This is a solution to the problem of a repository including a poorly
88
+ considered .editorconfig that can't easily be changed. Leaving undocumented
89
+ because I don't know if this is actually a problem in practice.
90
+ >
91
+ let g:sleuth_editorconfig_overrides = {
92
+ \ expand('~/bad/repo/.editorconfig'): '.editorconfig.mine'}
82
93
<
83
94
vim:tw=78:et:ft=help:norl:
You can’t perform that action at this time.
0 commit comments