summaryrefslogtreecommitdiff
path: root/lua/settings.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-04 12:43:54 -0400
committerchristianchiarulli <[email protected]>2021-07-04 12:43:54 -0400
commitec814f60c55a8d9d4695bdde1240289b2743f01a (patch)
tree38a21d20e82ee5c7268723cad159c94772016973 /lua/settings.lua
parent79fa16ff06a74183f07c038a6bb79e40432f1bab (diff)
move colorscheme setting to settings
Diffstat (limited to 'lua/settings.lua')
-rw-r--r--lua/settings.lua7
1 files changed, 4 insertions, 3 deletions
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