summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorchristianchiarulli <chrisatmachine@gmail.com>2021-12-14 17:00:38 -0500
committerchristianchiarulli <chrisatmachine@gmail.com>2021-12-14 17:07:43 -0500
commit67f73b704498322cfbc79315f4ee9761f630b464 (patch)
treeb2518442cb8a20de78e7497f1e2e1de35c9417e2 /lua
parent4e038120bf179d7220638ad3e17bf4974ed50fff (diff)
add colorscheme
add colorscheme
Diffstat (limited to 'lua')
-rw-r--r--lua/user/colorscheme.lua8
-rw-r--r--lua/user/plugins.lua4
2 files changed, 12 insertions, 0 deletions
diff --git a/lua/user/colorscheme.lua b/lua/user/colorscheme.lua
new file mode 100644
index 0000000..b1e21f6
--- /dev/null
+++ b/lua/user/colorscheme.lua
@@ -0,0 +1,8 @@
+vim.cmd [[
+try
+ colorscheme darkplus
+catch /^Vim\%((\a\+)\)\=:E185/
+ colorscheme default
+ set background=dark
+endtry
+]]
diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua
index 3d4499f..6b131a2 100644
--- a/lua/user/plugins.lua
+++ b/lua/user/plugins.lua
@@ -45,6 +45,10 @@ return packer.startup(function(use)
use "nvim-lua/popup.nvim" -- An implementation of the Popup API from vim in Neovim
use "nvim-lua/plenary.nvim" -- Useful lua functions used ny lots of plugins
+ -- 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