summaryrefslogtreecommitdiffstats
path: root/lua/core/opts.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-08-11 20:43:58 -0400
committerSquibid <me@zacharyscheiman.com>2023-08-11 20:43:58 -0400
commit590f0309995a569954fc94b1d5df6b6391ead9fa (patch)
treecfca10f62e189018c0bb7944d446423e6397f375 /lua/core/opts.lua
parentb8d70ed288b3b542b7bb24609384aa540339b2da (diff)
downloadnvim-590f0309995a569954fc94b1d5df6b6391ead9fa.tar.gz
nvim-590f0309995a569954fc94b1d5df6b6391ead9fa.tar.bz2
nvim-590f0309995a569954fc94b1d5df6b6391ead9fa.zip
kitchen sink cause I'm too lazy to sort through this junk
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)