diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-02-13 17:50:25 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-02-13 17:50:25 -0500 |
commit | 013dfcae215ae20fe30654247a91a026118deba4 (patch) | |
tree | 6a4106bd120881c9778ba089e4a75b0f56a4af45 /lua/cshift/autocolor.lua |
laptop config
Diffstat (limited to 'lua/cshift/autocolor.lua')
-rw-r--r-- | lua/cshift/autocolor.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/cshift/autocolor.lua b/lua/cshift/autocolor.lua new file mode 100644 index 0000000..10155d2 --- /dev/null +++ b/lua/cshift/autocolor.lua @@ -0,0 +1,11 @@ +local autocolors = vim.api.nvim_create_augroup("AutoColors", {clear = true}) + +vim.api.nvim_create_autocmd("ColorScheme", { + pattern = "*", + callback = function() + vim.cmd("highlight Normal ctermbg=none") + vim.cmd("highlight EndOfBuffer ctermbg=none") + vim.cmd("highlight NonText ctermbg=none") + end, + group = autocolors +}) |