Ran into an interesting issue. When using evil mode's smart-case search/replace, buffer content's are "corrupted"/out of date if tree-sitter highlighting is enabled.
Here is reproducible example (tested on emacs 28 with native comp, same result on linux and macos):
Ran into an interesting issue. When using evil mode's smart-case search/replace, buffer content's are "corrupted"/out of date if tree-sitter highlighting is enabled.
Here is reproducible example (tested on emacs 28 with native comp, same result on linux and macos):
init.el:
Example file to see issue (
example.ts
):Steps:
emacs -nw example.ts
tree-sitter-hl-mode
):%s/some/other/g
)tree-sitter-hl-mode
and observe no issue.