Variable: sops-prefilter-regex

sops-prefilter-regex is a customizable variable defined in sops.el.

Value

"\\.\\(ya?ml\\|json\\|env\\|ini\\|txt\\)\\'"

Documentation

Filename regex. Files matching trigger sops filestatus on find-file.

Files not matching are never checked, so their open path is unaffected.

Source Code

;; Defined in /nix/store/vihl6lkzddv9xrsrsznvqdjq27g2i30p-emacs-packages-deps/share/emacs/site-lisp/elpa/sops-20260920.2121/sops.el
(defcustom sops-prefilter-regex
  "\\.\\(ya?ml\\|json\\|env\\|ini\\|txt\\)\\'"
  "Filename regex.  Files matching trigger `sops filestatus' on `find-file'.
Files not matching are never checked, so their open path is unaffected."
  :type 'regexp
  :group 'sops)