emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#60025: closed ([PATCH] Add go-ts-mode and go-mod-ts-mode)


From: GNU bug Tracking System
Subject: bug#60025: closed ([PATCH] Add go-ts-mode and go-mod-ts-mode)
Date: Fri, 16 Dec 2022 02:07:02 +0000

Your message dated Fri, 16 Dec 2022 02:05:47 +0000
with message-id 
<vXZOO1qk8wHLJQc6I6Rz8X575Z0vgXtDSGcgKxLgqRyRdUZeKkyjgsbPg5EyoNz6byKDcE9xXQJAwpOpdqlrsKYaqzyRulMnO3B_LNi4iLo=@rjt.dev>
and subject line Re: bug#60025: [PATCH] Add go-ts-mode and go-mod-ts-mode
has caused the debbugs.gnu.org bug report #60025,
regarding [PATCH] Add go-ts-mode and go-mod-ts-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
60025: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60025
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Add go-ts-mode and go-mod-ts-mode Date: Tue, 13 Dec 2022 02:13:47 +0000
X-Debbugs-CC: casouri@gmail.com, theo@thornhill.no

I am having a tiny bit of trouble with a go.mod indentation rule. Using the patch, create a go.mod file anywhere, activate go-mod-ts-mode and add the following:

require ()

Place point inside the parens, and then hit enter. The expectation is that point will end up indented inside that block. If you add the text "test v1.0.0" and hit TAB, it will indent properly (and if you hit enter after that text it will indent properly for the next entry). If you go to the end of the line for the top paren and hit enter, it will not indent (and we want it to). It seems to give us no-node in that circumstance. Is there a simple indent rule that can match exactly that that I'm missing?

Attachment: 0001-Add-go-ts-mode-and-go-mod-ts-mode.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#60025: [PATCH] Add go-ts-mode and go-mod-ts-mode Date: Fri, 16 Dec 2022 02:05:47 +0000
On Thursday, December 15th, 2022 at 20:22, Yuan Fu <casouri@gmail.com> wrote:
> 
> Thanks! Great work. I applied the patch. And sorry for the change in
> build.sh, I meant to modify your patch to rename namespaces to org but
> apparently forgot.
> 
> Yuan

Thanks! Closing.


--- End Message ---

reply via email to

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