mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/neotree: non-capturing groups in neo-hidden-regexp-list
Slight optimization.
This commit is contained in:
@ -24,13 +24,14 @@
|
|||||||
neo-show-hidden-files t
|
neo-show-hidden-files t
|
||||||
neo-hidden-regexp-list
|
neo-hidden-regexp-list
|
||||||
'(;; vcs folders
|
'(;; vcs folders
|
||||||
"^\\.\\(git\\|hg\\|svn\\)$"
|
"^\\.\\(?:git\\|hg\\|svn\\)$"
|
||||||
;; compiled files
|
;; compiled files
|
||||||
"\\.\\(pyc\\|o\\|elc\\|lock\\|css.map\\|class\\)$"
|
"\\.\\(?:pyc\\|o\\|elc\\|lock\\|css.map\\|class\\)$"
|
||||||
;; generated files, caches or local pkgs
|
;; generated files, caches or local pkgs
|
||||||
"^\\(node_modules\\|vendor\\|.\\(project\\|cask\\|yardoc\\|sass-cache\\)\\)$"
|
"^\\(?:node_modules\\|vendor\\|.\\(project\\|cask\\|yardoc\\|sass-cache\\)\\)$"
|
||||||
;; org-mode folders
|
;; org-mode folders
|
||||||
"^\\.\\(sync\\|export\\|attach\\)$"
|
"^\\.\\(?:sync\\|export\\|attach\\)$"
|
||||||
|
;; temp files
|
||||||
"~$"
|
"~$"
|
||||||
"^#.*#$"))
|
"^#.*#$"))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user