1
0
mirror of https://codeberg.org/diginaut/dotfiles.git synced 2026-05-06 23:52:34 +02:00

Use breakindent on supported versions of vim

This commit is contained in:
2015-11-06 13:01:19 +01:00
parent c2b20eaba1
commit 4b9b7f4c18
+6
View File
@@ -182,6 +182,12 @@ set number
set cursorline set cursorline
syntax on syntax on
if v:version >= 704 && has('patch338')
" automatically indents wrapped lines up to the previous line. You can also
" use the showbreak option to automatically indent the line even more
set breakindent
endif
" Show tabs and trailspaces " Show tabs and trailspaces
set listchars=tab:▸\ ,trail set listchars=tab:▸\ ,trail
" Display whitespace " Display whitespace