1
0

fix compatibility with older vim versions

maybe, needs testing
This commit is contained in:
valeth 2015-07-03 02:34:07 +02:00
parent e2800ad7e7
commit a2ed82913e
2 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,6 @@
set formatoptions+=j if v:version >= 704
set formatoptions+="j"
endif
set autoindent set autoindent
set smarttab set smarttab
@ -6,7 +8,7 @@ set smarttab
" round the indent to a multiple o shiftwidth " round the indent to a multiple o shiftwidth
set shiftround set shiftround
if has("smartindent") if has('smartindent')
set smartindent set smartindent
endif endif

View File

@ -28,9 +28,11 @@ endif
if has('linebreak') if has('linebreak')
let &showbreak = '↳ ' let &showbreak = '↳ '
if v:version >=704
set breakindent set breakindent
set breakindentopt=sbr set breakindentopt=sbr
endif endif
endif
" show a ruler and show the current command in the bottom right " show a ruler and show the current command in the bottom right
if has('cmdline_info') if has('cmdline_info')