Skip to content

Commit 1334797

Browse files
committed
change theme to tokyonight, disable neo-tree on init
1 parent 85cf14f commit 1334797

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

after/plugin/neo-tree.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
-- Autocmd to open Neo-tree automatically on startup
2-
vim.api.nvim_create_autocmd("VimEnter", {
3-
callback = function()
4-
if vim.fn.isdirectory(vim.fn.getcwd()) == 1 then
5-
require('neo-tree.command').execute({ toggle = false, dir = vim.loop.cwd() })
6-
vim.cmd('wincmd p') -- Switch back to the previous buffer
7-
end
8-
end
9-
})
2+
-- vim.api.nvim_create_autocmd("VimEnter", {
3+
-- callback = function()
4+
-- if vim.fn.isdirectory(vim.fn.getcwd()) == 1 then
5+
-- require('neo-tree.command').execute({ toggle = false, dir = vim.loop.cwd() })
6+
-- vim.cmd('wincmd p') -- Switch back to the previous buffer
7+
-- end
8+
-- end
9+
-- })
1010

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ require('lazy').setup({
855855
-- Load the colorscheme here.
856856
-- Like many other themes, this one has different styles, and you could load
857857
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
858-
-- vim.cmd.colorscheme 'tokyonight'
858+
vim.cmd.colorscheme 'tokyonight-night'
859859

860860
-- You can configure highlights by doing something like:
861861
vim.cmd.hi 'Comment gui=none'

lua/custom/plugins/colorschemes.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ return {
55
priority = 1000,
66
config = function ()
77
vim.cmd.colorscheme 'gruvbuddy'
8-
end
8+
end,
9+
enabled = false,
910
},
1011

1112
{

0 commit comments

Comments
 (0)