emacs-devel
[Top][All Lists]
Advanced

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

Re: tree-sitter and language support


From: Eli Zaretskii
Subject: Re: tree-sitter and language support
Date: Fri, 25 Nov 2022 14:28:24 +0200

> Date: Thu, 24 Nov 2022 21:20:29 -0800
> From: "T.V Raman" <raman@google.com>
> 
> I installed from elpa/melpa:
> 
> ls -1 -d tree-sitter-*
> tree-sitter-20220212.1632/
> tree-sitter-langs-20221122.645/
> 21:18:06 elpa $ 
> 
> but emacs compiled from latest Git Head still produces the completely
> unhelpful message 
> tree-support for language <x> is unavailable if I invoke c-ts-mode or
> c++-ts-mode

The tree-sitter-20220212 package is an external Emacs module, so it is
incompatible with the tree-sitter enabled modes you see on the master
branch.  Instead, you should simply install the tree-sitter library using
whatever distro you use to update your system.  Or build the tree-sitter
library yourself, from its Git repository, and then install it.

And the tree-sitter-langs-20221122 package requires you to run procedures to
download, compile, and install the language support libraries.  Did you run
those procedures?  If not, you won't have the language support libraries
where Emacs looks for them.



reply via email to

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