summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-06-03 13:39:37 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-06-03 13:39:37 +0100
commit7e8ecd407879e308f854f3f7f698e3da7b4b2c66 (patch)
tree94f0a660eed26bbc0d86832df80153e7774b859d /lua
parent1ca4fbb51508e8f45260936c3ad90f63fa36fd81 (diff)
parent97d9d5ae1d507aa24ea997b36e937c809d25ca0e (diff)
Merge branch '04-colorscheme' into vgg
Diffstat (limited to 'lua')
-rw-r--r--lua/user/colorscheme.lua7
-rw-r--r--lua/user/plugins.lua4
2 files changed, 11 insertions, 0 deletions
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 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