Function: combobulate-highlight-setup

combobulate-highlight-setup is a natively compiled function defined in combobulate-query.el.

Signature

(combobulate-highlight-setup)

Documentation

Setup the highlighting for the current buffer.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-query.el
(defun combobulate-highlight-setup ()
  "Setup the highlighting for the current buffer."
  ;; Add the `combobulate-highlight-feature-symbol' feature to the first level of the
  ;; font lock feature list. This is I think the only way to inject
  ;; custom font lock rules into the tree-sitter-powered font lock
  ;; engine.
  (when treesit-font-lock-feature-list
    (unless (member combobulate-highlight-feature-symbol (car treesit-font-lock-feature-list))
      (push combobulate-highlight-feature-symbol (car treesit-font-lock-feature-list)))))