summaryrefslogtreecommitdiffstats
path: root/lua/core/opts.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua/core/opts.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/core/opts.lua b/lua/core/opts.lua
index 07a3293..826f2b2 100644
--- a/lua/core/opts.lua
+++ b/lua/core/opts.lua
@@ -1,5 +1,5 @@
-- better ui ------------------------------------------------------------------
-vim.notify = require("notify")
+if pcall(require, "notify") then vim.notify = require("notify") end
-- o.colorcolumn = { 80 }
-- buffer
@@ -34,7 +34,7 @@ o.softtabstop = tabwidth
-- colorscheme
o.termguicolors = true
-vim.cmd('colorscheme mellow')
+if pcall(require, "mellow") then vim.cmd('colorscheme mellow') end
-- better editing -------------------------------------------------------------
o.clipboard = 'unnamedplus' -- system clipboard (on unix like)