- commit
- ee2e0f04a1aa9569535bcf6f14b738d2cdf3b818
- parent
- 56628f8571a4ad023691e19d84c9333f5dcd22bb
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2016-09-11 23:16
Gardening
Diffstat
| M | plugin/detectindent.vim | 8 | ++++---- |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/detectindent.vim b/plugin/detectindent.vim
@@ -23,15 +23,15 @@ function! DetectIndent() 23 23 let n = 1 24 24 25 25 while n <= 5026 -1 let cur_line = getline(n)-1 26 let line = getline(n) 27 2728 -1 if cur_line =~ '^ '-1 28 if line =~ '^ ' 29 29 call SetIndent(0) 30 30 return31 -1 elseif cur_line =~ '^ '-1 31 elseif line =~ '^ ' 32 32 call SetIndent(1, 4) 33 33 return34 -1 elseif cur_line =~ '^ '-1 34 elseif line =~ '^ ' 35 35 call SetIndent(1, 2) 36 36 return 37 37 endif