Accept comma-separated list of sort criteria

This commit is contained in:
Junegunn Choi committed 2016-01-13 21:27:43 +09:00
1 parent d635b3fd3c
commit 1d2d32c847
12 files changed
+298 -120

No files matched your search

+1 -1
View File
@@ -309,7 +309,7 @@ func dupItem(item *Item, offsets []Offset) *Item {
index: item.index,
offsets: offsets,
colors: item.colors,
rank: Rank{0, 0, item.index}}
rank: buildEmptyRank(item.index)}
}
func (p *Pattern) basicMatch(item *Item) (int, int, int) {