summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-10 21:59:25 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-10 21:59:25 +0100
commitb980f3abb417b5b8bd48ee4d007795702e070029 (patch)
tree0b5a5228940da5bd80560f613b96b2f880b02750 /lua
parent6ada17c671c5a5b82ca7aec0f431074b260ed5ae (diff)
Add colorscheme
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/colorscheme.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua
new file mode 100644
index 0000000..5f0654d
--- /dev/null
+++ b/lua/plugins/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