From e6509c2651b3c844f6e8050ee5706666529a88ba Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 8 Jun 2023 17:18:00 +0200 Subject: [PATCH] vim: Create dict for special chars in languages This way it is more easily extendable. This also gives the possibility to modify it in ftplugins. I thought about removing 'de' from the dictionary in the tex.vim ftplugin to encourage using `\"a` and alike. --- .config/vim/vimrc.d/50-aesthetics.vim | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.config/vim/vimrc.d/50-aesthetics.vim b/.config/vim/vimrc.d/50-aesthetics.vim index 2ed5499..4c7d7be 100644 --- a/.config/vim/vimrc.d/50-aesthetics.vim +++ b/.config/vim/vimrc.d/50-aesthetics.vim @@ -51,6 +51,11 @@ augroup HighlightTrailingWhitespace au VimEnter,WinNew * call matchadd("TrailingWhitespace", '\s\+\%#\@