go.nvim icon indicating copy to clipboard operation
go.nvim copied to clipboard

GoAlt not working correctly

Open ldelossa opened this issue 2 years ago • 2 comments

Hello,

When using GoAlt it correctly moves from the test file to the source code.

However, when moving from the source code to the test file it opens a file called '~/git_test.go` instead.

ldelossa avatar Mar 14 '22 17:03 ldelossa

moving from source to test depends on alt_file = vim.fn.expand('%:r') .. "_test.go" When you opened source, what is the output of echo expand('%:r') from vim cmd line? It is strange why would it be git. Also are you in the latest master and what is your operating system?

ray-x avatar Mar 14 '22 23:03 ray-x

@ldelossa Do you still see this issue? Could you share more info on how to reproduce it?

ray-x avatar Jul 23 '22 08:07 ray-x