Releases: emacs-tree-sitter/elisp-tree-sitter
Releases · emacs-tree-sitter/elisp-tree-sitter
0.12.2
0.12.1
- Fixed incorrect parsing when after-change's start position is not the same as before-change's start position. For example, this happens when calling
upcase-region
on a region whose first character is already upcased. - Upgraded
emacs
crate to 0.14.1 to fix the compilation error on Rust 1.47. - Upgraded
tree-sitter
crate to 0.17.1 to fix handling of repeated field names in queries.
0.12.0
- Moved the core APIs from
tree-sitter-core.el
into their own packagetsc
, to prepare for distribution through MELPA. Also changed their prefix fromts-
totsc-
, to avoid conflict withts.el
.
0.11.0
0.10.0
- Used keywords instead of strings for field names.
- Replaced
ts-field-name-for-id
,ts-field-id-for-name
withts-lang-field
,ts-lang-field-id
. - Replaced
ts-current-field-name
withts-current-field
. - Replaced
ts-get-child-by-field-name
withts-get-child-by-field
.
- Replaced
- Used symbols for named node types.
- Replaced
ts-type-name-for-id
withts-lang-node-type
. - Added
ts-lang-node-type-id
. - Changed the return type of
ts-node-type
.
- Replaced
- Renamed
ts-type-named-p
tots-lang-node-type-named-p
. - Added optional param
NODE-TYPE
totree-sitter-node-at-point
. - Upgraded
tree-sitter
crate to get support for.not-match?
predicate.
0.9.2
0.9.1
- Upgraded
tree-sitter
crate to fix incorrect capture handling when querying with range restriction.