From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: lua-ts-mode Date: Wed, 26 Jul 2023 19:42:16 +0200 Message-ID: References: <87o7jyd3bs.fsf@pub.pink> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29013"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 26 21:28:10 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qOkB7-0007K4-O2 for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Jul 2023 21:28:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOiWu-0003SK-4Y; Wed, 26 Jul 2023 13:42:32 -0400 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 1qOiWr-0003Rw-8a for emacs-devel@gnu.org; Wed, 26 Jul 2023 13:42:29 -0400 Original-Received: from out-13.mta1.migadu.com ([95.215.58.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOiWo-0007F2-EC for emacs-devel@gnu.org; Wed, 26 Jul 2023 13:42:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1690393341; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZnfUEVqEFv3INMGteSnh5slk366imprfkV1PHZiU1rA=; b=uQdJYhXzDHbdliDuqQ1Zi1BB0p8TWgfA1DFekAzkoFYGRzhDLGtcJYskDdAnu2DeSUfDsV DWqMW4/MCu9MbMm+44yubxZ6LPJMv+IuA61jXJ03JU3U8WI5NTSO9uikNrVdB06YG//kXS rfb7qmm3WTPk35lLj9y/TkJ8drJjZkqDMUvq6bXq2xb3JD3Lp1sVcxsh5S9xYFdxgfPgAE 38ya5Fg1sPu3kaYdsr6RwXn6jYrxsYLaTGtCe54r4NWzMIVCimfQqFlCuZPsy6hoN37OcC vSckYPpHZ0FY0b0nHniSy5P0MCqm/vp7P8WmT7TL/tjaZi+vCWgFZyrAwVkoyg== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: <87o7jyd3bs.fsf@pub.pink> X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=95.215.58.13; envelope-from=theo@thornhill.no; helo=out-13.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308127 Archived-At: On 26 July 2023 18:49:20 CEST, john muhl wrote: >I=E2=80=99d like to submit =E2=80=98lua-ts-mode=E2=80=99 for inclusion=2E= I=E2=80=99m new to all of this >so suggestions for improvements or anything else are very welcome=2E > Nice, thanks! I'll take a look at the code a bit later, but is anything preventing us fr= om adding this in-tree? Theo >There is already =E2=80=98lua-mode=E2=80=99 in NonGNU ELPA but this one i= s copyright FSF >and uses tree-sitter to provide it=E2=80=99s functionality so I hope the >duplication of effort is not a problem=2E > >Thanks=2E > >URL: https://git=2Esr=2Eht/~johnmuhl/lua-ts-mode > >;;; Commentary: > >This package provides =E2=80=98lua-ts-mode=E2=80=99 which is a major mode= for >editing Lua files that uses Tree Sitter to parse the language=2E > >This package is compatible with and tested against the grammar >for Lua found at https://github=2Ecom/MunifTanjim/tree-sitter-lua > >With Git, a C compiler and linker in PATH you can install it by >running: > > M-x treesit-install-language-grammar RET lua RET y > https://github=2Ecom/MunifTanjim/tree-sitter-lua RET RET RET RET RET > >To automatically enable it when you open a Lua file add the following >to your =E2=80=98user-init-file=E2=80=99: > > (add-to-list 'auto-mode-alist '("\\=2Elua\\'" =2E lua-ts-mode)) >