summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/user/beautiful.lua
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2023-12-09 21:38:14 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2023-12-09 21:38:14 +0300
commitd2193c1bd22ba52fc4784eb271b40d71cb140738 (patch)
tree58e131a8e402508e54da12d90b9f54d8b4047dc2 /.config/nvim/lua/user/beautiful.lua
parentff61e763b12badbf73f4e78b462c626ab206be1c (diff)
Added autocopmletion
Now settings for every language are in directoty ~/.config/nvim/lua/user/lsp
Diffstat (limited to '.config/nvim/lua/user/beautiful.lua')
-rw-r--r--.config/nvim/lua/user/beautiful.lua8
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