- commit
- 5cec71e7384ad16eada3b272ac36dd34ca9aef67
- parent
- 85894039502b5452cc13ca7a34701e2df6354a4a
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2016-09-11 23:46
fix: do not overwrite settings
Diffstat
| M | plugin/detectindent.vim | 8 | ++++++-- |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin/detectindent.vim b/plugin/detectindent.vim
@@ -1,5 +1,9 @@1 -1 let g:detectindent_preferred_indent = 42 -1 let g:detectindent_preferred_expandtab = 1-1 1 if !exists('g:detectindent_preferred_indent') -1 2 let g:detectindent_preferred_indent = 4 -1 3 endif -1 4 if !exists('g:detectindent_preferred_expandtab') -1 5 let g:detectindent_preferred_expandtab = 1 -1 6 endif 3 7 4 8 function! SetIndent(...) 5 9 if a:0 < 1