Variable: treesit--syntax-propertize-start

treesit--syntax-propertize-start is a buffer-local variable defined in treesit.el.gz.

Documentation

If non-nil, next syntax-propertize should start at this position.

When tree-sitter parser reparses, it calls treesit--font-lock-mark-ranges-to-fontify with the changed ranges, and that function sets this variable to the start of the changed ranges.

Source Code

;; Defined in /usr/src/emacs/lisp/treesit.el.gz
(defvar-local treesit--syntax-propertize-start nil
  "If non-nil, next `syntax-propertize' should start at this position.

When tree-sitter parser reparses, it calls
`treesit--font-lock-mark-ranges-to-fontify' with the changed ranges, and
that function sets this variable to the start of the changed ranges.")