Add a trailing space when completing file name.

This commit is contained in:
Qi Xiao 2016-02-10 23:56:33 +01:00
parent 8a18ca4fa1
commit 4f74be8c1e

View File

@ -156,6 +156,8 @@ func complArgInner(head string, ed *Editor, formHead bool) []*candidate {
if info.IsDir() {
name += "/"
} else {
name += " "
}
cands = append(cands, &candidate{