Use two spaces for ruby indentation.
This commit is contained in:
parent
f6ca1b9725
commit
d2a62bb067
@ -57,6 +57,7 @@ au FileType ant set tabstop=2 shiftwidth=2 softtabstop=2
|
|||||||
au FileType yaml set tabstop=2 shiftwidth=2 softtabstop=2
|
au FileType yaml set tabstop=2 shiftwidth=2 softtabstop=2
|
||||||
au FileType php set tabstop=4 shiftwidth=4 softtabstop=4
|
au FileType php set tabstop=4 shiftwidth=4 softtabstop=4
|
||||||
au FileType make set noexpandtab
|
au FileType make set noexpandtab
|
||||||
|
au FileType ruby,eruby setlocal ts=2 sw=2 tw=79 et sts=2 autoindent colorcolumn=80
|
||||||
|
|
||||||
" keyboard shortcuts
|
" keyboard shortcuts
|
||||||
nmap <silent> <leader>l :set list!<CR>
|
nmap <silent> <leader>l :set list!<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user