[vim]Spacing for ino file

This commit is contained in:
Mathieu Maret 2016-05-23 14:51:21 +02:00
parent c146fbe053
commit 1a12c095ca

5
.vimrc
View File

@ -86,8 +86,6 @@ set updatetime=1000
""""""""""" """""""""""
" highlight the cursor line " highlight the cursor line
set cursorline set cursorline
" show the status line
set laststatus=2
" show the cursor position " show the cursor position
set ruler set ruler
" show mode " show mode
@ -142,6 +140,9 @@ endif
if has("autocmd") if has("autocmd")
autocmd BufRead,BufNewFile *.iris set ft=python autocmd BufRead,BufNewFile *.iris set ft=python
autocmd BufRead,BufNewFile *.ino set tabstop=4
autocmd BufRead,BufNewFile *.ino set softtabstop=4
autocmd BufRead,BufNewFile *.ino set shiftwidth=4
endif endif
" vim -b : edit binary using xxd-format! " vim -b : edit binary using xxd-format!