move colorscheme setting to settings

This commit is contained in:
christianchiarulli 2021-07-04 12:43:54 -04:00
parent 79fa16ff06
commit ec814f60c5
2 changed files with 4 additions and 5 deletions

View file

@ -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