aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-09-28 08:54:59 +0200
committerKarel Kočí <cynerd@email.cz>2018-09-28 08:54:59 +0200
commit40b9b7b1127d6b752b28f909fe3ea7ee4f29f28a (patch)
tree5b45013bd4f93d1749d71cc793e6151cb6bfb2aa /vimrc
parent9f64932a22a469c5d69912b300ee62380e306063 (diff)
downloadmyconfigs-40b9b7b1127d6b752b28f909fe3ea7ee4f29f28a.tar.gz
myconfigs-40b9b7b1127d6b752b28f909fe3ea7ee4f29f28a.tar.bz2
myconfigs-40b9b7b1127d6b752b28f909fe3ea7ee4f29f28a.zip
vim: Tweak folds
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index d5cb41b..b439332 100644
--- a/vimrc
+++ b/vimrc
@@ -28,6 +28,7 @@ Plugin 'dhruvasagar/vim-table-mode'
Plugin 'vim-scripts/iptables'
Plugin 'neomutt/neomutt.vim'
Plugin 'sirtaj/vim-openscad'
+Plugin 'tmhedberg/SimpylFold'
call vundle#end()
filetype plugin indent on
@@ -50,6 +51,11 @@ set encoding=utf-8
set foldmethod=syntax
highlight Folded ctermbg=Black ctermfg=LightBlue
+set foldtext=FoldText()
+function FoldText()
+ return getline(v:foldstart) . ' '
+endfunction
+
set number
set colorcolumn=82