Don't doom|check-large-file on tags files

Fixes an issue where reading TAGS files could cause "%s is a large file,
open literally to avoid performance issues?" prompts every time you open
a project file, if the tags file was larger than `doom-large-file-size'
This commit is contained in:
Henrik Lissner 2018-10-03 15:08:25 -04:00
parent b4b19c40bf
commit 48f7d33c03
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -8,7 +8,7 @@ modes are active and the buffer is read-only.")
(defvar doom-large-file-modes-list (defvar doom-large-file-modes-list
'(fundamental-mode special-mode archive-mode tar-mode jka-compr '(fundamental-mode special-mode archive-mode tar-mode jka-compr
git-commit-mode image-mode doc-view-mode doc-view-mode-maybe git-commit-mode image-mode doc-view-mode doc-view-mode-maybe
ebrowse-tree-mode pdf-view-mode) ebrowse-tree-mode pdf-view-mode tags-table-mode)
"Major modes that `doom|check-large-file' will ignore.") "Major modes that `doom|check-large-file' will ignore.")
(defvar-local doom-inhibit-indent-detection nil (defvar-local doom-inhibit-indent-detection nil