diff options
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r-- | plugin/vim-options.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index b4659d2..38d88e8 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -467,3 +467,17 @@ if !empty(glob(EditorDir.'/plugged/vim-togglelist/plugin/togglelist.vim')) nmap <script> <silent> <leader>l :call ToggleLocationList()<CR> endif "----------------------------------------------------------------------------------------------------------------------- + + + +"----------------------------------------------------------------------------------------------------------------------- +" SimplyFold +"----------------------------------------------------------------------------------------------------------------------- +if !empty(glob(EditorDir.'/plugged/SimpylFold/ftplugin/python/SimpylFold.vim')) + let g:SimpylFold_docstring_preview = 1 + " Needed for some issues + autocmd BufWinEnter *.py setlocal foldexpr=SimpylFold(v:lnum) foldmethod=expr + autocmd BufWinLeave *.py setlocal foldexpr< foldmethod< + nnoremap <space>a za +endif +"----------------------------------------------------------------------------------------------------------------------- |