summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/lua/config/colourscheme.lua
diff options
context:
space:
mode:
Diffstat (limited to 'neovim/.config/nvim/lua/config/colourscheme.lua')
-rw-r--r--neovim/.config/nvim/lua/config/colourscheme.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/neovim/.config/nvim/lua/config/colourscheme.lua b/neovim/.config/nvim/lua/config/colourscheme.lua
new file mode 100644
index 0000000..62f453a
--- /dev/null
+++ b/neovim/.config/nvim/lua/config/colourscheme.lua
@@ -0,0 +1,6 @@
+local colorscheme = "adwaita"
+vim.o.background = "light" -- or "light" for light mode
+local ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
+if not ok then
+ vim.notify("colorscheme " .. colorscheme .. " not found!")
+end