SublimeFileBrowser
SublimeFileBrowser copied to clipboard
Inherit file/folder_exclude_patterns from global settings
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
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 ...