summaryrefslogtreecommitdiff
path: root/lua/plugins/config/colorscheme.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-11 22:34:06 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-11 22:34:06 +0100
commit8aafe947f476462e0aae7d0f473bec0fbdcaaa60 (patch)
treefa6910e9ed35bd16f598381520020a46f8403e15 /lua/plugins/config/colorscheme.lua
parent7ab7a3cf61548c697db6547aaea02dc0aec47c45 (diff)
Move colorscheme config to config
Diffstat (limited to 'lua/plugins/config/colorscheme.lua')
-rw-r--r--lua/plugins/config/colorscheme.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/plugins/config/colorscheme.lua b/lua/plugins/config/colorscheme.lua
new file mode 100644
index 0000000..5f0654d
--- /dev/null
+++ b/lua/plugins/config/colorscheme.lua
@@ -0,0 +1,9 @@
+-- Neovim colorscheme.
+
+local colorscheme = "default"
+
+local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
+if not status_ok then
+ vim.notify("colorscheme " .. colorscheme .. " not found!")
+ return
+end