fix: file-browser opens supplied path

This commit is contained in:
Nydragon 2024-11-01 16:21:03 +01:00
parent 25384d1507
commit 7463f5b4aa
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE

View file

@ -252,12 +252,4 @@ vim.diagnostic.config({
},
})
vim.api.nvim_create_autocmd({ "VimEnter" }, {
callback = function(data)
if vim.fn.isdirectory(data.file) == 1 then
require("telescope").extensions.file_browser.file_browser()
end
end,
})
vim.cmd([[colorscheme tokyonight]])