Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify headers' update behavior #25

Merged
merged 1 commit into from
Aug 4, 2017
Merged

Commits on Aug 2, 2017

  1. Modify headers' update behavior

    This patch modify existing behavior in order to update headers.
    
    The plugin now loops through global options to see which ones are set in
    $MYVIMRC from which a list is built. Then, it iterates over the list to
    see if all headers are present from the start of the file to a certain
    threshold (option g:header_max_size, default is 5).
    
    If one required header is missing, it considers that headers aren't set
    so it adds new ones. Otherwise, it updates headers keeping positions and
    identations.
    
    Patch also updates the README.md and CHANGELOG.md to reflect thoses
    changes.
    Olivier Martin committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    aad1b1c View commit details
    Browse the repository at this point in the history