Variable: projectile-globally-ignored-buffers
projectile-globally-ignored-buffers is a customizable variable defined
in projectile.el.
Value
("\\*scratch\\*" "\\*lsp-log\\*")
Documentation
A list of buffer names ignored by projectile.
If a buffer matches one of these, projectile will ignore it for functions working with buffers.
Each entry is a regular expression, matched anywhere in the buffer
name - unlike projectile-globally-ignored-modes, which matches whole
mode names. Anchor an entry yourself when you mean an exact name.
Note that the * of a buffer name like *scratch* has to be escaped
to be matched literally, as in the default value; unescaped it is a
repetition operator.
This variable was added, or its default value changed, in projectile version 0.12.0.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-globally-ignored-buffers
'("\\*scratch\\*"
"\\*lsp-log\\*")
"A list of buffer names ignored by projectile.
If a buffer matches one of these, projectile will ignore it for
functions working with buffers.
Each entry is a regular expression, matched anywhere in the buffer
name - unlike `projectile-globally-ignored-modes', which matches whole
mode names. Anchor an entry yourself when you mean an exact name.
Note that the `*' of a buffer name like `*scratch*' has to be escaped
to be matched literally, as in the default value; unescaped it is a
repetition operator."
:group 'projectile
:type '(repeat regexp)
:safe #'list-of-strings-p
:package-version '(projectile . "0.12.0"))