aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-04 22:40:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-04 22:40:32 +1200
commit5ec7aeef74c7ce94649e740fb629dc310ccda46b (patch)
treec80fe7c831d1c13c012885bdcbddc27c91a9cae7 /vim
parentHave dub(1) handle unexpanded globs (diff)
downloaddotfiles-5ec7aeef74c7ce94649e740fb629dc310ccda46b.tar.gz
dotfiles-5ec7aeef74c7ce94649e740fb629dc310ccda46b.zip
Trying new 'breakindent' Vim feature
<https://i.imgur.com/ze2uZQG.png>
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 0080a55b..5e496e26 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -112,6 +112,11 @@ endif
" do clever things with indenting will often assume this is set
set autoindent
+" Indent broken lines
+if v:version > 704 || v:version == 704 && has('patch338')
+ set breakindent
+endif
+
" Use spaces instead of tabs
set expandtab