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 | |
parent | 7e78b140091a189b6e3ff8751b123bf585640db8 (diff) |
feat(615): transparent background option (#617)
-rw-r--r-- | lua/default-config.lua | 1 | ||||
-rw-r--r-- | lua/settings.lua | 4 | ||||
-rw-r--r-- | utils/installer/lv-config.example.lua | 1 |
3 files changed, 5 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 --- diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua index 543f8a72..c90d4876 100644 --- a/utils/installer/lv-config.example.lua +++ b/utils/installer/lv-config.example.lua @@ -18,6 +18,7 @@ O.leader_key = ' ' O.ignore_case = true O.smart_case = true O.lushmode = false +O.transparent_window = false -- After changing plugin config it is recommended to run :PackerCompile O.plugin.hop.active = false |