mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
updated for version 7.3.029
Problem: ":sort n" sorts lines without a number as number zero. (Beeyawned)
Solution: Make lines without a number sort before lines with a number. Also
fix sorting negative numbers.
This commit is contained in:
@@ -53,15 +53,19 @@ b321b
|
||||
t02: numeric
|
||||
abc
|
||||
ab
|
||||
a
|
||||
a321
|
||||
a123
|
||||
a122
|
||||
a
|
||||
x-22
|
||||
b321
|
||||
b123
|
||||
|
||||
c123d
|
||||
-24
|
||||
123b
|
||||
c321d
|
||||
0
|
||||
b322b
|
||||
b321
|
||||
b321b
|
||||
|
||||
@@ -21,6 +21,10 @@ ab
|
||||
a
|
||||
|
||||
|
||||
|
||||
-24
|
||||
x-22
|
||||
0
|
||||
a122
|
||||
a123
|
||||
b123
|
||||
|
||||
Reference in New Issue
Block a user