mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-02 01:23:21 +08:00
Add Arduino to list of C-like languages
Add 'arduino' filetype to list of C-like languages. This is needed in order to avoid mix-indent-file warnings when using hard tabs for indentation in Arduino source files (*.ino, *.pde) containing top level block comments with leading space before a '*'. Similar to:460ed02864Original fix:8fde76dd63
This commit is contained in:
@@ -666,7 +666,7 @@ eclim <https://eclim.org>
|
||||
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user