akinsho / flutter-tools.nvim

Tools to help create flutter apps in neovim using the native lsp
MIT License
932 stars 75 forks source link

[Feature] Pre-run callback in `setup_project{}` #353

Closed JordanllHarper closed 1 day ago

JordanllHarper commented 1 month ago

In my project, we have a script that needs to run before calling flutter run., given some flavor of the project. It would be nice if we could create a "before run" function in the "setup_project{}" for this, or whatever naming works best for the project, that allows running some lua code before flutter run.