| Age | Commit message (Collapse) | Author |
|
Prevent the Go command completion from jumbling up the shell prompt on
errors by setting the Writer of the standard lib default log.Logger to
ioutil.Discard unless the system environment variable `GOCOMP_VERBOSE`
has been explicitly set to "1" (e.g. for debugging purposes).
Fixes #139
|
|
Ensure that the components of the `testing` package that rely on calling
`os.Exit` remain functional and any test failures are actually reported
back after the `monkey.Patch` in the `gocomplete.Example` test.
Fix #135
|
|
Fixes #132
|
|
|
|
|
|
This simplifies the prediction logic writing, the predictor
doesn't need to filter our according to line matching, instead
it returns everything and the filtering is done at the end.
This does not break current behavior.
|
|
fixes #41
|
|
|
|
|
|
|
|
when typing 'go run', the completion will complete only go files
which are in main package and have a main function.
|