diff options
| author | christianchiarulli <[email protected]> | 2021-07-04 12:43:54 -0400 | 
|---|---|---|
| committer | christianchiarulli <[email protected]> | 2021-07-04 12:43:54 -0400 | 
| commit | ec814f60c55a8d9d4695bdde1240289b2743f01a (patch) | |
| tree | 38a21d20e82ee5c7268723cad159c94772016973 | |
| parent | 79fa16ff06a74183f07c038a6bb79e40432f1bab (diff) | |
move colorscheme setting to settings
| -rw-r--r-- | init.lua | 2 | ||||
| -rw-r--r-- | lua/settings.lua | 7 | 
2 files changed, 4 insertions, 5 deletions
| @@ -2,8 +2,6 @@ require('default-config')  vim.cmd('luafile ' .. CONFIG_PATH .. '/lv-config.lua')  require('settings')  require('plugins') -vim.g.colors_name = O.colorscheme -vim.g.syntax = true  require('lv-utils')  require('keymappings')  require('lv-galaxyline') 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 | 
