diff --git a/init.lua b/init.lua index 80d530f..18ee8ca 100644 --- a/init.lua +++ b/init.lua @@ -13,3 +13,6 @@ require "user.abbrs" -- b/c it's where I will be adding plugins to packer. -- I like that Packer is fully in lua. require "user.plugins" +-- This is where I will add my plugins. +require "user.colorscheme" + diff --git a/lua/user/colorscheme.lua b/lua/user/colorscheme.lua new file mode 100644 index 0000000..8c73fd6 --- /dev/null +++ b/lua/user/colorscheme.lua @@ -0,0 +1,7 @@ +local colorscheme = "default" + +local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) +if not status_ok then + vim.notify("colorscheme " .. colorscheme .. " not found!") + return +end diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index b7fd3f4..bd3504c 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -51,6 +51,10 @@ return packer.startup(function(use) use "ryanoasis/vim-devicons" -- Developer icons for Neo-vim plugins like file-managers... use "tpope/vim-surround" -- great tag/code-encapsulator plugin. + -- Colorschemes + -- use "lunarvim/colorschemes" -- A bunch of colorschemes you can try out + use "lunarvim/darkplus.nvim" + -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins if PACKER_BOOTSTRAP then