Default indentation
This commit is contained in:
parent
8b3bbddb17
commit
c247bfdceb
18
.vimrc
18
.vimrc
@ -80,6 +80,24 @@ highlight link cSpaceError SpaceError
|
|||||||
highlight link pythonSpaceError SpaceError
|
highlight link pythonSpaceError SpaceError
|
||||||
highlight SpaceError ctermfg=235 cterm=reverse
|
highlight SpaceError ctermfg=235 cterm=reverse
|
||||||
|
|
||||||
|
"""""""""""""""
|
||||||
|
" INDENTATION "
|
||||||
|
"""""""""""""""
|
||||||
|
" use tabs at the start of a line, spaces elsewhere
|
||||||
|
set smarttab
|
||||||
|
set smartindent
|
||||||
|
set autoindent
|
||||||
|
"" tab=4
|
||||||
|
"set tabstop=4
|
||||||
|
"set softtabstop=4
|
||||||
|
"set shiftwidth=4
|
||||||
|
" tab=8
|
||||||
|
set tabstop=8
|
||||||
|
set softtabstop=8
|
||||||
|
set shiftwidth=8
|
||||||
|
" real tabs
|
||||||
|
" set noexpandtab
|
||||||
|
|
||||||
if has("autocmd")
|
if has("autocmd")
|
||||||
" enable file type detection and do language-dependent indenting
|
" enable file type detection and do language-dependent indenting
|
||||||
" filetype plugin indent on
|
" filetype plugin indent on
|
||||||
|
Loading…
Reference in New Issue
Block a user