From: sev Date: Fri, 18 Oct 2024 04:58:22 +0000 (-0500) Subject: vim: fix highlighting regression X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/816ae2594ec7ada113bf6d5d774bcec70a317338?ds=inline vim: fix highlighting regression I really don't know why Bol before Mol breaks it, but so it does --- diff --git a/etc/vim/.vimrc b/etc/vim/.vimrc index 7a142e4..e1af798 100644 --- a/etc/vim/.vimrc +++ b/etc/vim/.vimrc @@ -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