> On Dec 16, 2022, at 09:24, João Távora wrote: > > On Fri, Dec 16, 2022 at 3:06 PM Eli Zaretskii wrote: > > > > > From: Perry Smith > > > Date: Fri, 16 Dec 2022 08:47:18 -0600 > > > > > > There are (I believe) four pieces to get Tree Sitter major modes to work. > > > > > > Emacs needs to be compiled with tree-sitter enabled > > > The tree sitter binary needs to be installed > > > The tree sitter language specific parser needs to be installed > > > The appropriate major mode needs to be loaded and enabled > > > > That's correct. > > I agree this is a problem, especially the language specific parser > bits. Yesterday I tried out tree sitter Emacs on my Arch system. > Finding the tree-sitter system lib was easy enough, but finding the C++ > definition object wasn't so easy. Eventually I made it, but it needed > compilation from source and a NodeJS toolchain that I didn't know > I needed for that. This is new news to me. I downloaded this repository: https://github.com/casouri/tree-sitter-module And did: ./build.sh The same scripts are in the Emacs source down this path admin/notes/tree-sitter/build-module Perry