From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.help Subject: Re: how to use tree-sitter-langs package Date: Wed, 06 Mar 2024 09:30:53 +0000 Message-ID: <87edcniu5u.fsf@posteo.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19554"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "help-gnu-emacs@gnu.org" To: hw Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 06 10:32:08 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rhndA-0004py-Lm for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 06 Mar 2024 10:32:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhncM-0005UB-Bg; Wed, 06 Mar 2024 04:31:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhncI-0005SI-T9 for help-gnu-emacs@gnu.org; Wed, 06 Mar 2024 04:31:16 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhnc5-000703-CQ for help-gnu-emacs@gnu.org; Wed, 06 Mar 2024 04:31:05 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4A684240027 for ; Wed, 6 Mar 2024 10:30:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709717456; bh=zuuWbjvyhFJHPkyyP3bOrbuYoXuB/brFicvTPZvPNBY=; h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=BwlzUVLIYn1nZrKqHvYoEzPu8YtKKO2aPR08CjnQJ+N98u+9UiG0KA2Lhc32CrYzr ndBnOGOftLXqFR/EPF4p2POVeLZsXZdwv11FGrL8smCk7ZWnG/yBQ1GNWY6IzLaip1 mSezlSNy+9rUduNFZOtBWla3H3cyraNyDUeIvxlhV/aPAx1Vgn3av0jOtHowIj4xuX oHKJiebb68YcG6vZ2XSUFxghZwBgCzn+w26I6r9/psn+64x94h76EVNGPdh9zgo+UB W7zSGkKA4BcG1j8Ckp+SJookCwcLSS+mPX3OA7+aBzQLho4cTJn/xeJ8BDo8S4Xwr5 Stp/HJd3QuFeQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TqRxp5n6Bz9rxQ; Wed, 6 Mar 2024 10:30:54 +0100 (CET) In-Reply-To: (hw@adminart.net's message of "Sun, 03 Mar 2024 19:42:12 +0100") OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146045 Archived-At: hw writes: > Hi, > > I installed the tree-sitter-langs package with emacs' package > installer. I got a directory with a bunch of files in it. What package is that? Emacs 29 comes with a few something-ts-modes pre-installed, and there are a few more on GNU and NonGNU ELPA. The important thing is to install the grammar, using M-x treesit-install-language-grammar. > How do I use this package? I'd like to have the syntax highlighting > for some of the languages the package supports. -- Philip Kaludercic on peregrine