Subject: Re: bug#74461: [PATCH] Add go-work-ts-mode

From: Randy Taylor <[email-masked]>
Date: Thu, 02 Jan 2025 00:32:45 +0000

On Sunday, December 22nd, 2024 at 06:32, Gabriel Santos <[email-masked]> wrote:
> [...]
>
> > > +(defun go-work-ts-mode--in-directive-p ()
> > > + "Return non-nil if point is inside a Go workspace directive.
> > 
> > This docstring doesn't seem right: the function returns another
> > function, not a boolean.
> 
> 
> Huh, that is true (it returns a lambda function).
> Thankfully Randy is CC'ed here, so maybe
> he can comment on that.
> 

I probably forgot to update the docstring or something.
`go-mod-ts-mode--in-directive-p' and the go-work equivalent
should probably be renamed to `go-mod-ts-mode--directive-matcher'.