summaryrefslogtreecommitdiffstats
path: root/lua/conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua/conf/opts.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/conf/opts.lua b/lua/conf/opts.lua
index 682204c..0d0863c 100644
--- a/lua/conf/opts.lua
+++ b/lua/conf/opts.lua
@@ -27,7 +27,9 @@ o.shiftwidth = tabwidth
o.softtabstop = tabwidth
-- colorscheme
-o.termguicolors = true
+if vim.fn.has("termguicolors") then
+ o.termguicolors = true
+end
misc.colorscheme('mellow')
-- better editing -------------------------------------------------------------