From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70299: 30.0.50; go-ts-mode + tree-sitter-go@v0.20.0 no highlighting Date: Tue, 09 Apr 2024 08:23:18 +0300 Message-ID: <86y19nw1mh.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70299@debbugs.gnu.org To: Martin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 09 07:24:14 2024 Return-path: Envelope-to: geb-bug-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 1ru3xt-0006Mq-Nk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Apr 2024 07:24:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ru3xd-0005ZY-7i; Tue, 09 Apr 2024 01:23:57 -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 1ru3xa-0005XY-Q7 for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 01:23:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ru3xa-0000rG-Hf for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 01:23:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ru3xi-0008CB-3r for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 01:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Apr 2024 05:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70299 X-GNU-PR-Package: emacs Original-Received: via spool by 70299-submit@debbugs.gnu.org id=B70299.171264022631436 (code B ref 70299); Tue, 09 Apr 2024 05:24:02 +0000 Original-Received: (at 70299) by debbugs.gnu.org; 9 Apr 2024 05:23:46 +0000 Original-Received: from localhost ([127.0.0.1]:48076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ru3xR-0008Ay-PL for submit@debbugs.gnu.org; Tue, 09 Apr 2024 01:23:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ru3xM-00089z-Q8 for 70299@debbugs.gnu.org; Tue, 09 Apr 2024 01:23:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ru3x9-0000oz-Bx; Tue, 09 Apr 2024 01:23:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=vUo96PayGKtu9kChcIE4hSkwMTLEl4JAapKWBz/6ivA=; b=IFkFQo2FyDt2 GSO7hWvUIrpRPDBfSwG16DilP0Dvdooh3zSMqBl3m8N6s5C8D4CoCma2+6rUVdybmaLe0/l4ANy+A W/ySzl9xWRxM/GW8FXq9BUbMTxiKH4yi+9Y3vfdXjJkryV58xiSr7x/VsPYYL6gbetBR9jgB98tm1 4HR9Oh2zFkG7d/uxdXEumLnpc/CtGWkYAASctmTvglT9vhN6GOfEgCKzhc0rs9tWqMj0OdUp2/TMK w93sv8vOKz+L0ECDyrJkXn0rs3DKYT8rAr1LGpDF6Q3QzduAB6wG8m5SxlJcyTkZrSxIsMW8Vm1LZ wjeRy0KpbiSi2oEYvP4juQ==; In-Reply-To: (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282966 Archived-At: > Date: Tue, 9 Apr 2024 00:43:57 +0100 > From: Martin via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > - emacs -Q; > - M-x treesit-install-language-grammar > - go > - github.com/tree-sitter/tree-sitter-go > > - Open up a new buffer and use go-ts-mode > - Write some go-code > ``` > package my_pkg > type myStruct struct {} > func MyFunc(x context.Context) error {} > ``` > - Observe that there is no syntax highlighting > - Observe that treesit-explore-mode seems to work properly > - Conclude that there is something wrong with go-ts-mode's > highlighting. There is highlighting with tree-sitter-go v0.19.1, but > that grammar also seems to come with some bugs. Isn't this a duplicate of bug#70296?