fix: file browser navigate to parent directory on windows (#786)

This commit is contained in:
Alex Fischer
2021-04-28 20:15:25 +02:00
committed by GitHub
parent 38765f68db
commit ad30a7b085

View File

@@ -247,7 +247,7 @@ files.file_browser = function(opts)
table.insert(data, typ == 'directory' and (entry .. os_sep) or entry)
end
})
table.insert(data, 1, '../')
table.insert(data, 1, '..' .. os_sep)
return finders.new_table {
results = data,