mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 02:25:11 +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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user