fix: windows check for sorting (#345)

This commit is contained in:
christoph-heinrich
2022-10-26 09:54:04 +02:00
committed by GitHub
parent 614ccf6b3a
commit 352fd544a3

View File

@@ -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,