News for hackers. Stuff that matters.
Re:Show HN: Yode-Nvim – Focused Code Editing for Neovim by enriquepablo on Saturday February 12, 2022 @10:16AM (#30313387)
How does Yode compare with tree-sitter?
Re:Show HN: Yode-Nvim – Focused Code Editing for Neovim by hoschi on Saturday February 12, 2022 @10:40AM (#30313570)
Yode (the POC 4 years before) itself only worked with a (JavaScript) AST to create seditors. Tree-sitter would have helped here to provide an AST for different programming languages uniformly directly in NeoVim. Yode-Nvim is more powerful than the first version because it operates on lines to create seditors. In this respect Tree-sitter doesn't matter for Yode-Nvim. If someone uses Tree-sitter to select code in visual mode, he can easily create seditors for code objects like functions. This is also possible without Tree-sitter, but you have to select the function yourself.