Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add :alt command for go files #3716

Merged
merged 2 commits into from
Sep 17, 2020
Merged

Conversation

deviant
Copy link
Contributor

@deviant deviant commented Sep 6, 2020

Like those for Lua, Moonscript, and Ruby, this adds the :alt command when editing a go file to jump between it and its corresponding test file.

e.g. editing a file foo.go, :alt would open foo_test.go if it exists, and :alt again would take you back.

I dedicate any and all copyright interest in this software to the
public domain.  I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors.  I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
@deviant deviant force-pushed the add-go-alternative-file branch from fe05558 to 8d608d2 Compare September 9, 2020 03:13
@deviant deviant requested a review from mawww September 9, 2020 03:49
@deviant deviant force-pushed the add-go-alternative-file branch from 8d608d2 to 5916950 Compare September 9, 2020 06:43
@deviant deviant force-pushed the add-go-alternative-file branch from 5916950 to c6b7e3d Compare September 9, 2020 22:29
@mawww mawww merged commit b8f56a6 into mawww:master Sep 17, 2020
@deviant deviant deleted the add-go-alternative-file branch September 17, 2020 16:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants