-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/govim: add tests to verify turning off unimported completions works (#687) #796
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tjcain - thanks very much. Just a couple of questions/comments.
cmd/govim/testdata/scenario_no_completeunimported/no_complete.txt
Outdated
Show resolved
Hide resolved
cmd/govim/testdata/scenario_no_completeunimported/no_complete.txt
Outdated
Show resolved
Hide resolved
cmd/govim/testdata/scenario_no_completeunimported/no_complete_empty_file.txt
Outdated
Show resolved
Hide resolved
fc6e1a8
to
004b382
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Will merge once build goes green.
Thank you, @tjcain!
@tjcain - sorry, one thing I've just spotted (reviewing the commit message is not, sadly, part of GitHub's flow here, unlike Gerrit). The Your message is great, with the exception of some really small nits:
Therefore, how about something like?
That way #687 will be closed automatically when we merged. Thanks |
I will get that fixed up now, thank you for the great feedback. |
004b382
to
6caa688
Compare
Will ignore the macOS flake for now |
Following d80f0e2 unimported completions are turned on by default. This
commit adds tests to ensure setting CompleteUnimported to false disables
completion for unimported packages.