transparent bg + better window navigation keys
This commit is contained in:
1 parent
0947245439
commit
9ad445fdeb
4 files changed
+43
-7
No files matched your search
+13
-1
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user