Function: magit-highlight-bracket-keywords
magit-highlight-bracket-keywords is a natively compiled function
defined in magit-diff.el.
Signature
(magit-highlight-bracket-keywords)
Documentation
Highlight text between brackets.
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-diff.el
(defun magit-highlight-bracket-keywords ()
"Highlight text between brackets."
(while (re-search-forward "\\[[^][]*]" nil t)
(put-text-property (match-beginning 0)
(match-end 0)
'font-lock-face 'magit-keyword)))