vimrc: arduino files folding
This commit is contained in:
parent
cc7ebefa43
commit
9c2ebaedec
1 changed files with 3 additions and 0 deletions
|
@ -211,6 +211,9 @@ let perl_fold=1
|
||||||
" sh folding
|
" sh folding
|
||||||
let g:sh_fold_enabled= 3
|
let g:sh_fold_enabled= 3
|
||||||
|
|
||||||
|
" arduino folding
|
||||||
|
au FileType arduino setlocal foldmethod=syntax
|
||||||
|
|
||||||
" highlight whitespaces
|
" highlight whitespaces
|
||||||
highlight ExtraWhitespace ctermbg=red guibg=red
|
highlight ExtraWhitespace ctermbg=red guibg=red
|
||||||
match ExtraWhitespace /\s\+$/
|
match ExtraWhitespace /\s\+$/
|
||||||
|
|
Loading…
Reference in a new issue