diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-12-28 10:17:43 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-12-28 10:17:43 +0100 |
commit | cf1103331bbc6157060675b15820d32a0b49e025 (patch) | |
tree | b938b30397001a41d66378aea15edff846d5f082 /vim | |
parent | cfb55a77ab09734dcb6ccedd862390d539b094cc (diff) |
vimrc: improve trailing whitespace matching
Make it work in windows beyond the first one.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -65,7 +65,10 @@ else endif " trailing whitespace highlighting -match WhiteSpaceEOL /\s\+$/ +augroup vimrc + autocmd! + autocmd VimEnter,WinNew * call matchadd('WhiteSpaceEOL', '\s\+$') +augroup END " extension-based filetypes let filetype_m="mma" |