change theme to tokyonight, disable neo-tree on init

This commit is contained in:
Lorran David 2025-02-05 02:43:19 -03:00
parent 85cf14f8a3
commit 13347977be
3 changed files with 11 additions and 10 deletions

View file

@ -1,10 +1,10 @@
-- Autocmd to open Neo-tree automatically on startup
vim.api.nvim_create_autocmd("VimEnter", {
callback = function()
if vim.fn.isdirectory(vim.fn.getcwd()) == 1 then
require('neo-tree.command').execute({ toggle = false, dir = vim.loop.cwd() })
vim.cmd('wincmd p') -- Switch back to the previous buffer
end
end
})
-- vim.api.nvim_create_autocmd("VimEnter", {
-- callback = function()
-- if vim.fn.isdirectory(vim.fn.getcwd()) == 1 then
-- require('neo-tree.command').execute({ toggle = false, dir = vim.loop.cwd() })
-- vim.cmd('wincmd p') -- Switch back to the previous buffer
-- end
-- end
-- })