vimrc: html 2 spaces
This commit is contained in:
1
.vimrc
1
.vimrc
@@ -51,6 +51,7 @@ if !exists("vimrc_autocmds_loaded")
|
|||||||
au BufRead,BufNewFile * setlocal textwidth=0 | setlocal colorcolumn=
|
au BufRead,BufNewFile * setlocal textwidth=0 | setlocal colorcolumn=
|
||||||
au BufRead,BufNewFile *.md setlocal textwidth=80 | setlocal colorcolumn=80
|
au BufRead,BufNewFile *.md setlocal textwidth=80 | setlocal colorcolumn=80
|
||||||
au BufRead,BufNewFile *.py setlocal colorcolumn=100
|
au BufRead,BufNewFile *.py setlocal colorcolumn=100
|
||||||
|
au FileType html setlocal shiftwidth=2 tabstop=2
|
||||||
|
|
||||||
if exists(":NERDTree")
|
if exists(":NERDTree")
|
||||||
" Open NERDTree if no file specified
|
" Open NERDTree if no file specified
|
||||||
|
|||||||
Reference in New Issue
Block a user