fix: windows check for sorting (#345)
This commit is contained in:

committed by
GitHub

parent
614ccf6b3a
commit
352fd544a3
@@ -5,7 +5,7 @@ sort_filenames = (function()
|
|||||||
local symbol_order
|
local symbol_order
|
||||||
local default_order
|
local default_order
|
||||||
|
|
||||||
if state.os == 'win' then
|
if state.os == 'windows' then
|
||||||
symbol_order = {
|
symbol_order = {
|
||||||
['!'] = 1, ['#'] = 2, ['$'] = 3, ['%'] = 4, ['&'] = 5, ['('] = 6, [')'] = 6, [','] = 7,
|
['!'] = 1, ['#'] = 2, ['$'] = 3, ['%'] = 4, ['&'] = 5, ['('] = 6, [')'] = 6, [','] = 7,
|
||||||
['.'] = 8, ["'"] = 9, ['-'] = 10, [';'] = 11, ['@'] = 12, ['['] = 13, [']'] = 13, ['^'] = 14,
|
['.'] = 8, ["'"] = 9, ['-'] = 10, [';'] = 11, ['@'] = 12, ['['] = 13, [']'] = 13, ['^'] = 14,
|
||||||
|
Reference in New Issue
Block a user