GNU bug report logs - #70299
30.0.50; go-ts-mode + tree-sitter-go@v0.20.0 no highlighting

Previous Next

Package: emacs;

Reported by: Martin <martin.tang365 <at> googlemail.com>

Date: Tue, 9 Apr 2024 04:47:03 UTC

Severity: normal

Tags: patch

Merged with 70296

Found in versions 29.3.50, 30.0.50

Done: Randy Taylor <dev <at> rjt.dev>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 70299 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Martin <martin.tang365 <at> googlemail.com>
Cc: 70299 <at> debbugs.gnu.org
Subject: Re: bug#70299: 30.0.50;
 go-ts-mode + tree-sitter-go <at> v0.20.0 no highlighting
Date: Tue, 09 Apr 2024 08:23:18 +0300
> Date: Tue, 9 Apr 2024 00:43:57 +0100
> From:  Martin via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> - 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?




This bug report was last modified 1 year and 99 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.