From 7463f5b4aa13e0ae5def6e10f32cfe51ab8c06f6 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Fri, 1 Nov 2024 16:21:03 +0100 Subject: [PATCH] fix: file-browser opens supplied path --- lua/plugins.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index d2de990..55dfa14 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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]])