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

Init callback #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Init callback #19

wants to merge 3 commits into from

Commits on Apr 11, 2020

  1. Add init command

    Maciej Watras committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    7e82152 View commit details
    Browse the repository at this point in the history
  2. Allow many init callbacks

    User can now define any number of init functions for a project, by
    writing multiple Init commands, just like Callback works. They will be
    called sequentially in the same order they are defined:
    
        Project 'path', 'ProjectName'
        Init    'ProjectName', 'FirstFunction'
        Init    'ProjectName', 'SecondFunction'
    
    will result in
    
        (...) | call FirstFunction('ProjectName') | call SecondFunction('ProjectName') (...)
    
    execution when project is opened.
    
    This only works if g:project_enable_welcome is set to 1.
    Maciej Watras committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    dcc8ebd View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. Update README file

    Maciej Watras committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    781bff7 View commit details
    Browse the repository at this point in the history