summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to '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