SublimeFileBrowser icon indicating copy to clipboard operation
SublimeFileBrowser copied to clipboard

Inherit file/folder_exclude_patterns from global settings

Open laggingreflex opened this issue 8 years ago • 1 comments

Exclude file|folder_exclude_patterns

If dired_show_excluded_files is set to false, it hides files and folders that match against folder_exclude_patterns and file_exclude_patterns patterns defined in the global settings.

fixes #82

laggingreflex avatar Jul 01 '16 15:07 laggingreflex

Thanks for effort

Please rename setting to dired_use_global_exclude_patterns

The checks should be probably moved to is_hidden method because prepare_filelist is not used in traverse_tree method of Refresh class; alternatively, we could change traverse_tree, but it would be probably harder to do.

Instead of if use_exclude_patterns == None or use_exclude_patterns == True and ... use if use_exclude_patterns and ...

vovkkk avatar Jul 01 '16 16:07 vovkkk