tree-edit
tree-edit copied to clipboard
Explicit error when an `ERROR` node is present during editing operations
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.