Merge pull request #1605 from EdwardBetts/patch-2

Correct spelling mistake.
This commit is contained in:
Christian Brabandt 2017-11-27 09:27:58 +01:00 committed by GitHub
commit 6c8d0f5e6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ function! airline#extensions#whitespace#check()
let regexp = get(g:, 'airline#extensions#whitespace#trailing_regexp', '\s$')
let trailing = search(regexp, 'nw')
catch
echomsg 'airline#whitespace: error occured evaluating '. regexp
echomsg 'airline#whitespace: error occurred evaluating '. regexp
echomsg v:exception
return ''
endtry