From ec814f60c55a8d9d4695bdde1240289b2743f01a Mon Sep 17 00:00:00 2001 From: christianchiarulli Date: Sun, 4 Jul 2021 12:43:54 -0400 Subject: move colorscheme setting to settings --- lua/settings.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lua/settings.lua') diff --git a/lua/settings.lua b/lua/settings.lua index 6c7f7ddf..20708d83 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -1,13 +1,11 @@ --- HELPERS --- - local cmd = vim.cmd local opt = vim.opt --- VIM ONLY COMMANDS --- - cmd('filetype plugin on') -- filetype detection cmd('let &titleold="'..TERMINAL..'"') cmd('set inccommand=split') -- show what you are substituting in real time @@ -17,8 +15,11 @@ if O.transparent_window then cmd('au ColorScheme * hi Normal ctermbg=none guibg=none') end ---- SETTINGS --- +--- COLORSCHEME --- +vim.g.colors_name = O.colorscheme + +--- SETTINGS --- opt.backup = false -- creates a backup file opt.clipboard = "unnamedplus" -- allows neovim to access the system clipboard -- cgit v1.2.3