x/tools/gopls: don't rename documentation in compiler directive comments #42331
What did you do?
I'm testing out the new embed package. I wrote:
//go:embed static/* var static embed.FS
Then I went to rename the variable to export it to test somewhere else.
What did you expect to see?
The variable is renamed; the comment is left unmodified.
What did you see instead?
I'm left with:
//go:embed Static/* var Static embed.FS
(Any name works,
The text was updated successfully, but these errors were encountered:
I don't think there's a reason to do any renames in a