Make tabstop=2 default behvaviour
Reduce extra ft files by making tabstop=2 the default behaviour and overwriting as needed, instead of multiple files just setting tabstop for a specific filetype and nothing else
This commit is contained in:
parent
146b537744
commit
09839b8a02
|
@ -1,2 +0,0 @@
|
||||||
setlocal shiftwidth=2
|
|
||||||
setlocal softtabstop=2
|
|
|
@ -1,2 +0,0 @@
|
||||||
setlocal shiftwidth=2
|
|
||||||
setlocal softtabstop=2
|
|
|
@ -1,2 +0,0 @@
|
||||||
setlocal shiftwidth=2
|
|
||||||
setlocal softtabstop=2
|
|
2
vimrc
2
vimrc
|
@ -28,6 +28,8 @@ set wrap
|
||||||
set linebreak
|
set linebreak
|
||||||
set autoread
|
set autoread
|
||||||
set colorcolumn=+1
|
set colorcolumn=+1
|
||||||
|
set shiftwidth=2
|
||||||
|
set softtabstop=2
|
||||||
|
|
||||||
au BufRead,BufNewFile *.ipynb setlocal filetype=json
|
au BufRead,BufNewFile *.ipynb setlocal filetype=json
|
||||||
au BufRead,BufNewFile *.md setlocal spell
|
au BufRead,BufNewFile *.md setlocal spell
|
||||||
|
|
Loading…
Reference in a new issue