ui/neotree: non-capturing groups in neo-hidden-regexp-list
Slight optimization.
This commit is contained in:
parent
643ff13053
commit
1e4f108655
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||||
"~$"
|
"~$"
|
||||||
"^#.*#$"))
|
"^#.*#$"))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue