Skip to content

Commit

Permalink
add examples for using lists of patterns in white and blacklists
Browse files Browse the repository at this point in the history
  • Loading branch information
kaHaleMaKai committed Jun 6, 2016
1 parent f2da5cc commit e942707
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ Example:
``` {.vim}
" whitelist all local vimrc files in users project foo and bar
let g:localvimrc_whitelist='/home/user/projects/\(foo\|bar\)/.*'
" you can also use lists of patterns
let g:localvimrc_whitelist=['/home/user/project1/', '/opt/project2/', '/usr/local/projects/vim-[^/]*/']
```

- Default: No whitelist
Expand All @@ -219,6 +221,8 @@ Example:
``` {.vim}
" blacklist all local vimrc files in shared project directory
let g:localvimrc_blacklist='/share/projects/.*'
" you can also use lists of patterns
let g:localvimrc_whitelist=['/share/projects/.*', '/usr/share/other-projects/.*']
```

- Default: No blacklist
Expand Down

0 comments on commit e942707

Please sign in to comment.