Skip to content

Commit

Permalink
Clarify the ordering of patterns.
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed Dec 2, 2013
1 parent a7c6c10 commit 393255b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ You can set your own directory and file patterns like this:

let g:rooter_patterns = ['Rakefile', '.git/']

Note this overwrites the default patterns. Also note directories should have
a trailing slash.
Vim-rooter checks the patterns in the order given. So to work correctly with git submodules you should have `.git` before `.git/`.

Setting your own patterns overwrites the defaults. Directories should have a trailing slash.

You can have vim-rooter locally change directory (`:lcd`) instead of
changing directory (`:cd`) by adding this to your `.vimrc`:
Expand Down

0 comments on commit 393255b

Please sign in to comment.