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