From 0096e0baa93f26097c1ce26a9e0a72bed0c5a468 Mon Sep 17 00:00:00 2001 From: William Goulois <37271970+williamgoulois@users.noreply.github.com> Date: Sat, 3 Jul 2021 19:52:07 +0200 Subject: feat(615): transparent background option (#617) --- lua/default-config.lua | 1 + lua/settings.lua | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/default-config.lua b/lua/default-config.lua index 19722b1e..83ff1cc2 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -20,6 +20,7 @@ O = { smart_case = true, lushmode = false, hl_search = false, + transparent_window = false; leader_key = "space"; -- @usage pass a table with your desired languages diff --git a/lua/settings.lua b/lua/settings.lua index b137e04a..6c7f7ddf 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -13,7 +13,9 @@ cmd('let &titleold="'..TERMINAL..'"') cmd('set inccommand=split') -- show what you are substituting in real time cmd('set iskeyword+=-') -- treat dash as a separate word cmd('set whichwrap+=<,>,[,],h,l') -- move to next line with theses keys - +if O.transparent_window then + cmd('au ColorScheme * hi Normal ctermbg=none guibg=none') + end --- SETTINGS --- -- cgit v1.2.3