fix trailing whitespace highlight

This commit is contained in:
Vladan Popovic 2024-06-10 12:39:21 +02:00
parent 7ca16fc0bf
commit fa255704a1

View file

@ -1,11 +1,11 @@
-- Highlight trailing whitespace (darker red)
vim.cmd 'highlight WhitespaceEOL ctermbg=red guibg=#ab0d0d'
vim.cmd 'match WhitespaceEOL /\\s\\+\\%#\\@<!$/'
-- Revert to vim's default term colorscheme
vim.cmd 'colorscheme vim'
vim.cmd 'set notermguicolors'
-- Highlight trailing whitespace (darker red)
vim.cmd 'highlight WhitespaceEOL ctermbg=red guibg=#ab0d0d'
vim.cmd 'match WhitespaceEOL /\\s\\+\\%#\\@<!$/'
vim.cmd 'highlight Visual cterm=bold ctermbg=Grey ctermfg=none'
vim.cmd 'highlight Search ctermfg=Black'
vim.cmd 'highlight SignColumn ctermbg=none'