tree-edit icon indicating copy to clipboard operation
tree-edit copied to clipboard

Explicit error when an `ERROR` node is present during editing operations

Open ethan-leba opened this issue 3 years ago • 0 comments
trafficstars

(Elisp)-tree-sitter represents sections of the code it cannot parse as ERRORsymbol tokens. Currently the parser will fail as if a transformation is invalid if any ERROR tokens are present. Instead, we should check if the tokens in an operation contain ERROR, and alert the user that their code is malformed if so.

ethan-leba avatar Nov 22 '21 00:11 ethan-leba