Merge pull request #1502 from DavidAntaramian/master

Fix misspelling of trailing_fmt
This commit is contained in:
Christian Brabandt 2017-07-01 07:18:02 +02:00 committed by GitHub
commit 72ca1c344f

View File

@ -98,7 +98,7 @@ function! airline#extensions#whitespace#check()
if s:show_message if s:show_message
if trailing != 0 if trailing != 0
let trailing_fmt = get(g:, 'airline#extensions#whitespace#trailing_format', '[%s]trailing') let trailing_fmt = get(g:, 'airline#extensions#whitespace#trailing_format', '[%s]trailing')
let b:airline_whitespace_check .= space.printf(trailing_fm, trailing) let b:airline_whitespace_check .= space.printf(trailing_fmt, trailing)
endif endif
if mixed != 0 if mixed != 0
let mixed_indent_fmt = get(g:, 'airline#extensions#whitespace#mixed_indent_format', '[%s]mixed-indent') let mixed_indent_fmt = get(g:, 'airline#extensions#whitespace#mixed_indent_format', '[%s]mixed-indent')