summaryrefslogtreecommitdiff
path: root/vim/inkpot.vim
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-11-28 16:31:56 +0100
committerAnton Khirnov <anton@khirnov.net>2020-11-28 16:31:56 +0100
commit4251d8d628331a7733276eec50b9f31cb792a7ca (patch)
treec75f855fd54a202c4fa1be512cbd41fcc3c00d33 /vim/inkpot.vim
parente30949db43ba188342717792bc6783ffabf0ecf5 (diff)
vimrc: fix trailing whitespace highlighting
Move the color setting itself to the color theme (which clears highlighting at the beginning, thus breaking highlighting). Move the match declaration after setting the color theme.
Diffstat (limited to 'vim/inkpot.vim')
-rw-r--r--vim/inkpot.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/inkpot.vim b/vim/inkpot.vim
index 556efd4..59d8bcd 100644
--- a/vim/inkpot.vim
+++ b/vim/inkpot.vim
@@ -200,6 +200,8 @@ else
exec "hi Underlined cterm=BOLD ctermfg=" . <SID>X(77) . " ctermbg=" . "NONE"
exec "hi TaglistTagName cterm=BOLD ctermfg=" . <SID>X(39) . " ctermbg=" . "NONE"
+ hi WhiteSpaceEOL ctermbg=darkgreen
+
if v:version >= 700
exec "hi Pmenu cterm=NONE ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(82)
exec "hi PmenuSel cterm=BOLD ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(38)