emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter doc question


From: Eli Zaretskii
Subject: Re: Tree-sitter doc question
Date: Sat, 10 Dec 2022 10:46:40 +0200

> From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> Date: Sat, 10 Dec 2022 08:29:08 +0100
> Cc: emacs-devel@gnu.org
> 
> To start testing tree-sitter, do I "just" need to include 
> --enable-tree-sitter in my configure step or do I need
> something (more|else) on a 
> clean-slate (Linux|macOS) system? Does the emacs build process provide all 
> the necessary steps or is
> some external configuration/installation
> needed?

You need to make sure the tree-sitter library is installed, and so are
the grammar libraries for the programming languages you want to use.
Then just rebuild Emacs; --enable-tree-sitter is ON by default, so if
you have the library installed, the build process with DTRT.

> This is the kind of "extra documentation" some of us are yearning for ;-)

The above is not different from any other optional library, such as
GnuTLS or librsvg.  The exact commands to install them depend on the
distro you are using, and we don't describe them in our documentation.



reply via email to

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