mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
Use breakindent on supported versions of vim
This commit is contained in:
6
.vimrc
6
.vimrc
@@ -182,6 +182,12 @@ set number
|
||||
set cursorline
|
||||
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
|
||||
set listchars=tab:▸\ ,trail:·
|
||||
" Display whitespace
|
||||
|
||||
Reference in New Issue
Block a user