diff options
Diffstat (limited to '.config/nvim/lua/user/beautiful.lua')
-rw-r--r-- | .config/nvim/lua/user/beautiful.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/nvim/lua/user/beautiful.lua b/.config/nvim/lua/user/beautiful.lua index 17b7ed5..6af5f98 100644 --- a/.config/nvim/lua/user/beautiful.lua +++ b/.config/nvim/lua/user/beautiful.lua @@ -1,6 +1,12 @@ -- this file contains configuration for colorschemes e.t.c +vim.cmd("colorscheme default") + local colorscheme = "habamax" -- local colorscheme = "evening" -vim.cmd("colo " .. colorscheme) +local status, _retval = pcall(vim.cmd, "colo " .. colorscheme) +if not status then + vim.notify("Error: colorscheme \"" .. colorscheme .. "\" not found!") + return -- what the fuck lua where does this return lmao +end |