Function: treesit--explorer-refresh

treesit--explorer-refresh is a byte-compiled function defined in treesit.el.gz.

Signature

(treesit--explorer-refresh)

Documentation

Update the syntax tree buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/treesit.el.gz
(defun treesit--explorer-refresh ()
  "Update the syntax tree buffer."
  (condition-case nil
      (treesit--explorer-refresh-1)
    (treesit-parser-deleted
     (when treesit--explorer-buffer
       (with-current-buffer treesit--explorer-buffer
         (let ((inhibit-read-only t))
           (goto-char (point-min))
           (unless (looking-at "Parser is deleted")
             (insert (propertize "Parser is deleted\n"
                                 'face 'error)))))))))