vimrc: arduino files folding

This commit is contained in:
Cedric Girard 2019-08-29 09:23:02 +02:00
parent cc7ebefa43
commit 9c2ebaedec
Signed by: X-dark
GPG Key ID: E7D0E125DB9519E4
1 changed files with 3 additions and 0 deletions

View File

@ -211,6 +211,9 @@ let perl_fold=1
" sh folding
let g:sh_fold_enabled= 3
" arduino folding
au FileType arduino setlocal foldmethod=syntax
" highlight whitespaces
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/