Closed
Description
Thank you for the bug report
- I am using the latest version of
lsp-mode
related packages. - I checked FAQ and Troubleshooting sections
- You may also try reproduce the issue using clean environment using the following command:
M-x lsp-start-plain
Bug description
gopls offers test method generation autocompletion by typing in func Tes
. But for some reason after test method is generated the text used for method generation gets copied outside of the method declation, please see this video:
go_autocomplete.mov
Steps to reproduce
- open any go test file (
xxx_test.go
) - type in
func Tes
to see the autocompletion popup - press Enter
Expected behavior
test method should get generated without copying text to the end of the method declaration
Which Language Server did you use?
lsp-go with gopls
OS
MacOS
Error callstack
No response
Anything else?
No response