diff options
author | Karel Kočí <cynerd@email.cz> | 2018-09-28 08:54:59 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-09-28 08:54:59 +0200 |
commit | 40b9b7b1127d6b752b28f909fe3ea7ee4f29f28a (patch) | |
tree | 5b45013bd4f93d1749d71cc793e6151cb6bfb2aa /vimrc | |
parent | 9f64932a22a469c5d69912b300ee62380e306063 (diff) | |
download | myconfigs-40b9b7b1127d6b752b28f909fe3ea7ee4f29f28a.tar.gz myconfigs-40b9b7b1127d6b752b28f909fe3ea7ee4f29f28a.tar.bz2 myconfigs-40b9b7b1127d6b752b28f909fe3ea7ee4f29f28a.zip |
vim: Tweak folds
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |