diff --git a/after/plugin/neo-tree.lua b/after/plugin/neo-tree.lua index 6a6261ed..1204dc83 100644 --- a/after/plugin/neo-tree.lua +++ b/after/plugin/neo-tree.lua @@ -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 +}) diff --git a/init.lua b/init.lua index 555ad31b..350fafec 100644 --- a/init.lua +++ b/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-night' + -- vim.cmd.colorscheme 'tokyonight-night' -- You can configure highlights by doing something like: vim.cmd.hi 'Comment gui=none' diff --git a/lua/custom/plugins/colorschemes.lua b/lua/custom/plugins/colorschemes.lua index 6a4c3b85..3c7287cf 100644 --- a/lua/custom/plugins/colorschemes.lua +++ b/lua/custom/plugins/colorschemes.lua @@ -1,4 +1,14 @@ return { + { + "felipeagc/fleet-theme-nvim", + lazy = false, + priority = 1000, + config = function () + vim.cmd.colorscheme 'fleet' + end, + enabled = false, + }, + { "tjdevries/colorbuddy.nvim", lazy = false, @@ -84,7 +94,7 @@ return { priority = 1000, config = function() require('rose-pine').setup { - + } vim.cmd.colorscheme 'rose-pine-moon' @@ -133,4 +143,29 @@ return { end, enabled = false, }, + + { + 'vague2k/vague.nvim', + lazy = false, + priority = 1000, + config = function() + vim.cmd.colorscheme 'vague' + end, + enabled = false, + }, + + { + "blazkowolf/gruber-darker.nvim", + opts = { + bold = false, + italic = { + strings = false, + }, + }, + lazy = false, + priority = 1000, + config = function() + vim.cmd.colorscheme 'gruber-darker' + end, + } } diff --git a/lua/kickstart/plugins/neo-tree.lua b/lua/kickstart/plugins/neo-tree.lua index 501ef76f..e24eced1 100644 --- a/lua/kickstart/plugins/neo-tree.lua +++ b/lua/kickstart/plugins/neo-tree.lua @@ -16,7 +16,7 @@ return { opts = { filesystem = { window = { - -- position = "right", + position = "right", mappings = { ['\\'] = 'close_window', },