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] set `flutterMode` from .nvim.lua config file #313

Closed momrak closed 6 months ago

momrak commented 6 months ago

Is there an existing issue for this?

Current Behavior

From what I can see there is no way of specifying the run mode the app will be launched in from the .nvim.lua file

Expected Behavior

In the launch.json vscode file you have the following option see link

    "flutterMode": "profile"

This would be a nice addition

Steps To Reproduce

Starting flutter from within neovim using one of the configs

Environment

- OS: MacOs
- Flutter version: 3.16.3
- Is flutter in $PATH: yes
- neovim version: 0.9.1

Anything else?

No response

akinsho commented 6 months ago

To be honest, this isn't really something that's on my radar at all and probably is on something that I personally will have time to look into maybe @sidlatau might know about this and think it's useful to add