transparent bg + better window navigation keys

This commit is contained in:
iris committed 2022-08-09 16:45:04 -04:00
1 parent 0947245439
commit 9ad445fdeb
4 files changed
+43 -7

No files matched your search

+13 -1
View File
@@ -1,4 +1,16 @@
local hl = function(name, opts)
vim.api.nvim_set_hl(0, name, opts)
end
local gbhl = function(name, color)
hl(name, { bg = color })
end
-- highlight extra white space with red
vim.api.nvim_set_hl(0, 'ExtraWhitespace', { ctermbg = 'red', bg = '#ff8888' })
hl('ExtraWhitespace', { ctermbg = 'red', bg = '#ff8888' })
vim.cmd [[match ExtraWhitespace /\s\+$/]]
-- make background transparent
gbhl('Normal', 'none')
gbhl('EndOfBuffer', 'none')
gbhl('SignColumn', 'none')