]> git.sev.monster Git - dotfiles.git/commitdiff
vim: fix highlighting regression
authorsev <git@sev.monster>
Fri, 18 Oct 2024 04:58:22 +0000 (23:58 -0500)
committersev <git@sev.monster>
Fri, 18 Oct 2024 05:01:06 +0000 (00:01 -0500)
I really don't know why Bol before Mol breaks it, but so it does

etc/vim/.vimrc

index 7a142e4460333aa508bb9c66d32d9ad185b98024..e1af798667253eb1723233965ed0e83e117985e2 100644 (file)
@@ -58,7 +58,7 @@ autocmd FocusLost   * setlocal norelativenumber
 autocmd FocusGained * setlocal   relativenumber
 highlight WhiteSpaceBol ctermfg=DarkBlue
 highlight WhiteSpaceMol ctermfg=Black
-autocmd BufEnter * 2match WhiteSpaceBol /\(^ \+\)\|\( \+$\)/
 autocmd BufEnter * match WhiteSpaceMol / /
+autocmd BufEnter * 2match WhiteSpaceBol /\(^ \+\)\|\( \+$\)/
 
 let g:EditorConfig_enable_for_new_buf = 1
This page took 0.040355 seconds and 4 git commands to generate.