[BUG] flutter_tools_decorations.device is always nil
bruce3x opened this issue · comments
bruce3x commented
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
After executing the FlutterRun
command to start the flutter application, vim.g.flutter_tools_decorations.device
is always nil
.
Expected Behavior
Its value should be the name of the currently running device.
Steps To Reproduce
:FlutterRun
:lua print(vim.g.flutter_tools_decorations.device)
Environment
- OS: macOS
- Flutter version: 3.10
- Is flutter in $PATH: yes
- neovim version:0.9.0
Anything else?
I read the source code and tried to check the values of these two functions:
The result is :
- is_running = true
- current_device = nil
bruce3x commented
Maybe broken by this commit
6acf7d2#diff-96c4b32009844045b7f1ce3515556a45d330b4b0c2567fa9fed85d0efb0a782fL111