diff --git a/autoload/airline/extensions/whitespace.vim b/autoload/airline/extensions/whitespace.vim index 14fa181..8833ef0 100644 --- a/autoload/airline/extensions/whitespace.vim +++ b/autoload/airline/extensions/whitespace.vim @@ -31,7 +31,7 @@ endfunction function! s:check_mixed_indent_file() let c_like_langs = get(g:, 'airline#extensions#c_like_langs', - \ [ 'c', 'cpp', 'cuda', 'go', 'javascript', 'ld', 'php' ]) + \ [ 'arduino', 'c', 'cpp', 'cuda', 'go', 'javascript', 'ld', 'php' ]) if index(c_like_langs, &ft) > -1 " for C-like languages: allow /** */ comment style with one space before the '*' let head_spc = '\v(^ +\*@!)' diff --git a/doc/airline.txt b/doc/airline.txt index ec3f37e..0cdd707 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -666,7 +666,7 @@ eclim * configure, which filetypes have special treatment of /* */ comments, matters for mix-indent-file algorithm: > - let airline#extensions#c_like_langs = ['c', 'cpp', 'cuda', 'go', 'javascript', 'ld', 'php'] + let airline#extensions#c_like_langs = ['arduino', 'c', 'cpp', 'cuda', 'go', 'javascript', 'ld', 'php'] < * disable whitespace checking for an individual buffer > " Checking is enabled by default because b:airline_whitespace_disabled