Skip to content

Commit 6c197ef

Browse files
committed
Added format command for Dart.
1 parent 8484bf4 commit 6c197ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ end
3636
M.commands = {
3737
lua = function() return has_config_file('.lua-format') and 'lua-format' or nil end,
3838
cpp = function() return has_config_file('.clang-format') and 'clang-format -style=file' or nil end,
39-
go = 'gofmt'
39+
go = 'gofmt', dart = 'dart format'
4040
}
4141
M.commands.c = M.commands.cpp
4242

0 commit comments

Comments
 (0)