Skip to content

Comment BLOCKS (in file licenses) #124

Description

@PyTis

First of all, thank you for making this.
FYI, I couldn't seem to get it installed without also including the following 3 lines at the bottom of my local .vimrc file:

source ~/.vim/autoload/SimpylFold.vim
source ~/.vim/plugin/SimpylFold.vim
source ~/.vim/ftplugins/python/SimpylFold.vim

Right out of the gate, the only feature-add that I would like to request. LARGE comment blocks (it could be a configurable variable where 0 is off, then a minimum amount of lines starting with # with the same tabulation have to be met to be folded..
I.E. OFF -> "g:SimpylFold_fold_commentblock Fold commentblock 0"
I.E. 4 or more -> "g:SimpylFold_fold_commentblock Fold commentblock 4"

Where I work at (but I use this personally as well, and have my own personal GPL going at the top of my files), the license is so long, that I can't even see any code on the screen when putty/vim is maximized, the whole first page is being taken up by something that could be folded.

See Screenshot for example:

potential-SimplyFold-bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions