Skip to content

Conversation

@matchii
Copy link

@matchii matchii commented Apr 15, 2020

Adds new command, Init, which causes defined callback function(s) to fire once when project is selected on the welcome screen.

Maciej Watras added 3 commits April 11, 2020 14:15
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant