We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d25e8e commit a676a11Copy full SHA for a676a11
doc/sleuth.txt
@@ -79,5 +79,15 @@ Sleuth forces |:filetype-indent-on| by default, which enables file-type
79
specific indenting algorithms and is highly recommended. To opt out:
80
>
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.
89
+>
90
+ let g:sleuth_editorconfig_overrides = {
91
+ \ expand('~/bad/repo/.editorconfig'): '.editorconfig.mine'}
92
<
93
vim:tw=78:et:ft=help:norl:
0 commit comments