Fixes typo introduced in a10d321

Commmit a10d321809 introduced a small typo
spelling a previously set variable `trailing_fmt` as `trailing_fm`. This
causes Vim to report `trailing_fm` as an undefined variable. In this
change, the variable is properly referenced as `trailing_fmt`.
This commit is contained in:
David Antaramian 2017-06-30 18:45:21 -04:00
parent a10d321809
commit 42522f994a

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')