I wanted to create a command to ignore file_exclude_patterns
:
FILE_EXCLUDE_PATTERNS = config('file_exclude_patterns')
config('file_exclude_patterns', [])
self.view.window().run_command('show_overlay', {
"overlay": "goto", "show_files": True
})
config('file_exclude_patterns', FILE_EXCLUDE_PATTERNS)
The problem is: last line is called while overlay is open, How to do that when overlay is closed?