Fix .js config
This commit is contained in:
10
vimrc
10
vimrc
@ -51,18 +51,18 @@ colorscheme gruvbox
|
|||||||
set tabstop=4
|
set tabstop=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
set shiftwidth=0
|
set shiftwidth=0
|
||||||
set textwidth=79
|
" set textwidth=79
|
||||||
set autoindent
|
set autoindent
|
||||||
set smarttab
|
set smarttab
|
||||||
autocmd filetype python set expandtab
|
autocmd filetype python set expandtab
|
||||||
au BufNewFile,BufRead *.js, *.html, *.css
|
au BufNewFile,BufRead *.js, *.html, *.css, *.json
|
||||||
\ set tabstop=2
|
\ set tabstop=2 |
|
||||||
\ set softtabstop=2
|
\ set softtabstop=2 |
|
||||||
\ set shiftwidth=2
|
\ set shiftwidth=2
|
||||||
|
|
||||||
" Display
|
" Display
|
||||||
set list
|
set list
|
||||||
set list listchars=tab:▷⋅,trail:⋅,nbsp:⋅
|
set list listchars=tab:\|·,trail:⋅,nbsp:⋅
|
||||||
" set nowrap
|
" set nowrap
|
||||||
set hlsearch
|
set hlsearch
|
||||||
set incsearch
|
set incsearch
|
||||||
|
Reference in New Issue
Block a user