Skip to content

Commit

Permalink
Document how to exclude git worktrees
Browse files Browse the repository at this point in the history
See #110.
  • Loading branch information
airblade committed Jun 8, 2021
1 parent 662c006 commit 9a5ce8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.mkd
Expand Up @@ -78,7 +78,7 @@ let g:rooter_patterns = ['>Latex']
To exclude a pattern, prefix it with `!`.

```viml
let g:rooter_patterns = ['!=extras', '!^fixtures', '!build/env.sh']
let g:rooter_patterns = ['!.git/worktrees', '!=extras', '!^fixtures', '!build/env.sh']
```

List your exclusions before the patterns you do want.
Expand Down
2 changes: 1 addition & 1 deletion doc/rooter.txt
Expand Up @@ -92,7 +92,7 @@ with `>`:
<
To exclude a pattern, prefix it with `!`.
>
let g:rooter_patterns = ['!=src', '!build/env.sh', '!^fixtures']
let g:rooter_patterns = ['!.git/worktrees', '!=src', '!build/env.sh', '!^fixtures']
<
List your exclusions before the patterns you do want.

Expand Down

0 comments on commit 9a5ce8e

Please sign in to comment.