WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions doc/sleuth.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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: