emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tree-sitter doc question


From: Pedro Andres Aranda Gutierrez
Subject: Re: Tree-sitter doc question
Date: Sun, 11 Dec 2022 09:31:32 +0100

Obrigado, João Paulo

That's done :-) I now have an Emacs with tree-sitter and I have gone to the admin/... directory to compile the language support .so.
Maybe the final step in that documentation would be to say a word on where to place those files when testing and how to 
"politely encourage" Emacs to load and use them ;-)

/PA

On Sat, 10 Dec 2022 at 16:37, João Paulo Labegalini de Carvalho <jaopaulolc@gmail.com> wrote:

I'm on Ubuntu 20.04 LTS and have little time to face a migration to 22.04 and I haven't
found anyone providing a PPA to install tree-sitter on my system. Same might also
be true for many Debian users...

You can build tree-sitter from source by cloning the repo https://github.com/tree-sitter/tree-sitter and running make && make install PREFIX=<installation directory>.

Alternatively, you can grab one of the pre-build releases here: https://github.com/tree-sitter/tree-sitter/releases

After that make sure to export PKG_CONFIG_PATH=<tree-sitter install dir>/lib/pkgconfig.

Once that is done, emacs should build with tree-sitter smoothly.

--
João Paulo L. de Carvalho
Ph.D Computer Science |  IC-UNICAMP | Campinas , SP - Brazil
Postdoctoral Research Fellow | University of Alberta | Edmonton, AB - Canada


--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet


reply via email to

[Prev in Thread] Current Thread [Next in Thread]