diff --git a/dot_config/nvim/lua/config/lazy.lua b/dot_config/nvim/lua/config/lazy.lua index 7d02335..9d5b55a 100644 --- a/dot_config/nvim/lua/config/lazy.lua +++ b/dot_config/nvim/lua/config/lazy.lua @@ -6,7 +6,7 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then vim.api.nvim_echo({ { "Failed to clone lazy.nvim\n", "ErrorMsg" }, { out, "WarningMsg" }, - { "\nPress any key to exit..." } + { "\nPress any key to exit..." }, }, true, {}) vim.fn.getchar() os.exit(1) @@ -21,6 +21,5 @@ require("lazy").setup({ spec = { { import = "plugins" }, }, - install = { colorscheme = { "habamax" } }, checker = { enabled = true }, }) diff --git a/dot_config/nvim/lua/plugins/base.lua b/dot_config/nvim/lua/plugins/base.lua index afe8f54..296258d 100644 --- a/dot_config/nvim/lua/plugins/base.lua +++ b/dot_config/nvim/lua/plugins/base.lua @@ -1,6 +1,14 @@ -- Base plugins and libraries return { + { + "catppuccin/nvim", + priority = 1000, + lazy = false, + config = function() + vim.cmd([[colorscheme catppuccin-mocha]]) + end, + }, "nvim-lua/plenary.nvim", { "folke/snacks.nvim", @@ -78,4 +86,10 @@ return { "m4xshen/autoclose.nvim", opts = {}, }, + { + "wsdjeg/rooter.nvim", + opts = { + root_pattern = { ".git/" }, + }, + }, }