Skip to content

Releases: emacs-tree-sitter/elisp-tree-sitter

0.8.1

28 Jun 16:17
0.8.1
Compare
Choose a tag to compare
  • Added customization option tree-sitter-hl-use-font-lock-keywords, allowing tree-sitter-hl-mode to work with minor modes that use font-lock-add-keywords.

0.8.0

07 Jun 06:45
0.8.0
Compare
Choose a tag to compare
  • Upgraded tree-sitter to 0.16.1. This significantly improved the expressiveness and power of tree queries.
  • Made tree-sitter-hl-mode work without a major mode.
  • Add more highlighting faces to tree-sitter-hl.
  • Made tree-sitter-core automatically download tree-sitter-dyn binary when first compiled/loaded.
  • Added documentation.

0.7.0

02 May 11:46
0.7.0
Compare
Choose a tag to compare
  • Added global-tree-sitter-mode.
  • Added library tree-sitter-hl, which provides query-based syntax highlighting by overriding certain parts of font-lock.
  • Reworked query APIs for performance and clarity, most notably ts-make-query, ts-query-matches, ts-query-captures.
  • Fixed incorrect parsing caused by misunderstandings of Emacs's clumsy change tracking machinery.

0.6.0

11 Apr 14:28
0.6.0
Compare
Choose a tag to compare
  • Renamed ts-parse into ts-parse-chunks, to avoid conflict with ts.el.
  • Added library tree-sitter-query, which enables interactively building queries.

0.5.0

17 Mar 15:55
0.5.0
Compare
Choose a tag to compare
  • Added functions ts-node-position-range, ts-node-eq.
  • Added function tree-sitter-node-at-point.
  • Added macro tree-sitter-save-excursion, which is useful for code formatting operations (#28).
  • Added tree-sitter-extras for extra functionalities built on top of tree-sitter-mode.
  • Upgraded tree-sitter to 0.6.3. This fixed ts-type-name-for-id and ts-field-name-for-id crashing on out-of-bounds IDs.
  • Fixed ts-reset-cursor always signaling "already mutable borrowed" error.

0.4.0

01 Mar 14:29
0.4.0
Compare
Choose a tag to compare
  • Replaced functions ts-require-language and ts-load-language with tree-sitter-require and tree-sitter-load.
  • Published pre-compiled tree-sitter through a custom ELPA.
  • Published the grammar bundle tree-sitter-langs as a separate package.

0.3.0

20 Feb 17:50
0.3.0
Compare
Choose a tag to compare
  • Used Emacs's 1-based byte positions and line numbers instead of 0-based byte offsets and row coordinates.
  • Used cons cells instead of 2-element vectors to represent tree-sitter points and query matches/captures.

0.2.0

02 Feb 12:16
0.2.0
Compare
Choose a tag to compare
  • Upgraded tree-sitter to 0.6.0.
  • Added tree-sitter-cli.
  • Added tree-sitter-langs (utilities to download pre-compiled modules and grammars).

0.1.0

27 Jan 10:07
0.1.0
Compare
Choose a tag to compare

Initial release