There should be no trailing space when completing directories for a file match based on patterns
This commit is contained in:
@@ -132,7 +132,7 @@ func (self *Completions) AddMatchGroup(title string) *MatchGroup {
|
||||
return &ans
|
||||
}
|
||||
|
||||
type CompletionFunc func(completions *Completions, word string, arg_num int)
|
||||
type CompletionFunc = func(completions *Completions, word string, arg_num int)
|
||||
|
||||
func NamesCompleter(title string, names ...string) CompletionFunc {
|
||||
return func(completions *Completions, word string, arg_num int) {
|
||||
|
||||
Reference in New Issue
Block a user