1
0

Fix .js config

This commit is contained in:
2019-10-01 22:29:01 +02:00
parent 2fcc78f84a
commit a499154747

10
vimrc
View File

@ -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