change theme to tokyonight, disable neo-tree on init
This commit is contained in:
parent
85cf14f8a3
commit
13347977be
|
@ -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
|
||||
-- })
|
||||
|
||||
|
|
2
init.lua
2
init.lua
|
@ -855,7 +855,7 @@ require('lazy').setup({
|
|||
-- Load the colorscheme here.
|
||||
-- Like many other themes, this one has different styles, and you could load
|
||||
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
||||
-- vim.cmd.colorscheme 'tokyonight'
|
||||
vim.cmd.colorscheme 'tokyonight-night'
|
||||
|
||||
-- You can configure highlights by doing something like:
|
||||
vim.cmd.hi 'Comment gui=none'
|
||||
|
|
|
@ -5,7 +5,8 @@ return {
|
|||
priority = 1000,
|
||||
config = function ()
|
||||
vim.cmd.colorscheme 'gruvbuddy'
|
||||
end
|
||||
end,
|
||||
enabled = false,
|
||||
},
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue