Function: magit-highlight-bracket-keywords

magit-highlight-bracket-keywords is a byte-compiled function defined in magit-diff.el.

Signature

(magit-highlight-bracket-keywords)

Documentation

Highlight text between brackets.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/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)))