refactor(vertico): dabbrev-ignored-buffer-regexps: simplify

This commit is contained in:
Henrik Lissner 2024-08-26 02:22:53 -04:00
parent 80e9263b85
commit d6f5fed4a4
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -140,7 +140,7 @@ TAB/S-TAB.")
(setq dabbrev-friend-buffer-function #'+dabbrev-friend-buffer-p
dabbrev-ignored-buffer-regexps
'("\\` "
"\\(TAGS\\|tags\\|ETAGS\\|etags\\|GTAGS\\|GRTAGS\\|GPATH\\)\\(<[0-9]+>\\)?")
"\\(?:\\(?:[EG]?\\|GR\\)TAGS\\|e?tags\\|GPATH\\)\\(<[0-9]+>\\)?")
dabbrev-upcase-means-case-search t)
(add-to-list 'dabbrev-ignored-buffer-modes 'pdf-view-mode)
(add-to-list 'dabbrev-ignored-buffer-modes 'doc-view-mode)