You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
(optional) perform same steps without activating tree-sitter-hl-mode and observe no issue.
The text was updated successfully, but these errors were encountered:
jacksonludwig
changed the title
Tree sitter highlighting breaks buffer content during search/replace
Tree sitter highlighting breaks buffer content during search/replace (reproducible example within)
Aug 1, 2022
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.The text was updated successfully, but these errors were encountered: