Merge pull request 'add flutter build commands' (#5) from flutter-build-commands into main

Reviewed-on: #5
This commit is contained in:
Yasien Meth 2026-06-30 12:52:40 +02:00
commit 7b358f519f

View file

@ -92,7 +92,8 @@ return {
user_command("FEmulators", "FlutterEmulators", {}) user_command("FEmulators", "FlutterEmulators", {})
user_command("FLogs", "FlutterLogToggle", {}) user_command("FLogs", "FlutterLogToggle", {})
user_command("FLogsClear", "FlutterLogClear", {}) user_command("FLogsClear", "FlutterLogClear", {})
user_command("FBuild", "split | term dart run build_runner build --delete-conflicting-outputs", {})
user_command("FWatch", "split | term dart run build_runner watch --delete-conflicting-outputs", {})
-- Target-specific Run Command -- Target-specific Run Command
user_command("FRunT", function(opts) user_command("FRunT", function(opts)
vim.cmd("FlutterRun --web-port 1995 --target=" .. opts.args) vim.cmd("FlutterRun --web-port 1995 --target=" .. opts.args)