whitespace: skip trailing ws test for mail filetypes

This commit is contained in:
Christian Brabandt 2020-12-06 09:46:14 +01:00
parent 9ce6f96f60
commit 2cea83eb88
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -11,7 +11,8 @@ let s:default_checks = ['indent', 'trailing', 'mixed-indent-file', 'conflicts']
let s:enabled = get(g:, 'airline#extensions#whitespace#enabled', 1)
let s:skip_check_ft = {'make': ['indent', 'mixed-indent-file'],
\ 'csv': ['indent', 'mixed-indent-file']}
\ 'csv': ['indent', 'mixed-indent-file'],
\ 'mail': ['trailing']}
function! s:check_mixed_indent()
let indent_algo = get(g:, 'airline#extensions#whitespace#mixed_indent_algo', 0)