From: martin f. krafft Date: Mon, 22 Oct 2007 14:10:56 +0000 (+0200) Subject: extended german regexp to catch attachments X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/68d854b673d4437c706c3c555731f6aa3a17738a?ds=inline extended german regexp to catch attachments --- diff --git a/.vim/ftplugin/mail.vim b/.vim/ftplugin/mail.vim index b5d239b..cc246a3 100644 --- a/.vim/ftplugin/mail.vim +++ b/.vim/ftplugin/mail.vim @@ -15,7 +15,7 @@ autocmd BufUnload mutt-* call CheckAttachments() function! CheckAttachments() let l:english = 'attach\(ing\|ed\|ment\)\?\|included with this mail' let l:french = 'attach\(e\|er\|ée\?s\?\|ement\|ant\)' - let l:german = 'an\(gehängt\|hängsel\)\|bei\(gefügt|lage\)\|\(im\|siehe\)\_sanhang' + let l:german = 'an\(gehängt\|hängsel\|bei\)\|bei\(gefügt|lage\)\|\(im\|siehe\)\_sanhang' let l:ic = &ignorecase if (l:ic == 0) set ignorecase