Skip to content

Commit cf52d15

Browse files
committed
local vimrc
1 parent 08636ed commit cf52d15

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.lvimrc

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
set tabstop=2
2-
set softtabstop=2
3-
set shiftwidth=2
4-
set expandtab
1+
if &filetype =~ 'python' || &filetype =~ 'pyrex'
2+
setlocal tabstop=2
3+
setlocal softtabstop=2
4+
setlocal shiftwidth=2
5+
else
6+
setlocal tabstop=4
7+
setlocal softtabstop=4
8+
setlocal shiftwidth=4
9+
endif
10+
setlocal expandtab

0 commit comments

Comments
 (0)