diff options
author | William Goulois <[email protected]> | 2021-07-03 19:52:07 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-03 13:52:07 -0400 |
commit | 0096e0baa93f26097c1ce26a9e0a72bed0c5a468 (patch) | |
tree | a434f022a70ce5100781caa5f8dd3c8be5f07467 /lua | |
parent | 7e78b140091a189b6e3ff8751b123bf585640db8 (diff) |
feat(615): transparent background option (#617)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/default-config.lua | 1 | ||||
-rw-r--r-- | lua/settings.lua | 4 |
2 files changed, 4 insertions, 1 deletions
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 --- |