chore(nvim): change sorting in file browser

This commit is contained in:
Oliver Davies 2022-04-07 00:29:54 +01:00
parent ea14acb98f
commit 798e753cc5

View file

@ -38,7 +38,10 @@ function M.edit_neovim()
end
function M.file_browser()
local opts = { cwd = vim.fn.expand "%:p:h" }
local opts = {
cwd = vim.fn.expand "%:p:h",
sorting_strategy = "ascending"
}
require("telescope").extensions.file_browser.file_browser(opts)
end