Permalink
Browse files

Also show files ignored through .gitignore when showing hidden files.

  • Loading branch information...
1 parent 3f4cc3c commit 1167a32988202c3c81842371ecf9f80fe4854172 @alloy committed Jan 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/MacVim/MMFileBrowserController.m
@@ -171,7 +171,7 @@ - (BOOL)_ignoreFile:(NSString *)filename {
// It's a swap file, ignore it.
return YES;
}
- } else {
+ } else if (!includesHiddenFiles) {
NSString *eval = [NSString stringWithFormat:@"empty(expand(fnameescape('%@')))", filename];
NSString *result = [vim evaluateVimExpression:eval];
return [result isEqualToString:@"1"];

0 comments on commit 1167a32

Please sign in to comment.