fix: file browser navigate to parent directory on windows (#786)
This commit is contained in:
@@ -247,7 +247,7 @@ files.file_browser = function(opts)
|
|||||||
table.insert(data, typ == 'directory' and (entry .. os_sep) or entry)
|
table.insert(data, typ == 'directory' and (entry .. os_sep) or entry)
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
table.insert(data, 1, '../')
|
table.insert(data, 1, '..' .. os_sep)
|
||||||
|
|
||||||
return finders.new_table {
|
return finders.new_table {
|
||||||
results = data,
|
results = data,
|
||||||
|
|||||||
Reference in New Issue
Block a user