Skip to content

Commit 2ad3d78

Browse files
agriffisxuhdev
authored andcommitted
Remove backslashes from exclude patterns in README (#130)
These backslashes escape the splats and prevent the exclude patterns from matching.
1 parent 5df91ec commit 2ad3d78

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ need to execute `:helptags ALL` so that Vim is aware of editorconfig.txt.
6060
To ensure that this plugin works well with [Tim Pope's fugitive][], use the
6161
following patterns array:
6262

63-
let g:EditorConfig_exclude_patterns = ['fugitive://.\*']
63+
let g:EditorConfig_exclude_patterns = ['fugitive://.*']
6464

6565
If you wanted to avoid loading EditorConfig for any remote files over ssh:
6666

67-
let g:EditorConfig_exclude_patterns = ['scp://.\*']
67+
let g:EditorConfig_exclude_patterns = ['scp://.*']
6868

6969
Of course these two items could be combined into the following:
7070

71-
let g:EditorConfig_exclude_patterns = ['fugitive://.\*', 'scp://.\*']
71+
let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
7272

7373
#### Disable rules
7474

0 commit comments

Comments
 (0)