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

feat: add option to configure flutter mode via config #314

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Conversation

sidlatau
Copy link
Collaborator

It will add possibility to run app in profile, release modes.

It will add possibility to run app in `profile`, `release` modes.
@sidlatau sidlatau linked an issue Dec 16, 2023 that may be closed by this pull request
1 task
},
{
name = 'Profile',
flutter_mode = 'profile', -- possible values: `debug`, `profile` or `release`, defaults to `debug`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be prefixed with flutter_ or can it just be mode or is it flutter_ mode vs something like dart_mode (but not heard of that, but decidedly out of the loop atm)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, naming is always difficult :)
I think it may be just mode or build_mode, as in docs: 'https://docs.flutter.dev/testing/build-modes'
flutter_mode was used to align with VSCode property flutterMode https://docs.flutter.dev/tools/vs-code#run-app-in-debug-profile-or-release-mode

@akinsho akinsho merged commit 69466cc into main Dec 19, 2023
7 checks passed
@akinsho akinsho deleted the flutter-mode branch December 19, 2023 12:46
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.

[feature] set flutterMode from .nvim.lua config file
2 participants