Skip to content

Commit

Permalink
feat: add dart format
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoshihou514 committed Oct 27, 2024
1 parent 2186429 commit 9530991
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- [ ] [cbfmt](https://github.com/lukas-reineke/cbfmt)
- [x] [clang-format](https://www.kernel.org/doc/html/latest/process/clang-format.html)
- [ ] [csharpier](https://csharpier.com/)
- [ ] [dart](https://github.com/dart-lang)
- [ ] [djhtml](https://github.com/rtts/djhtml)
- [x] [docformatter](https://github.com/PyCQA/docformatter)
- [ ] [dprint](https://dprint.dev/)
Expand Down
6 changes: 6 additions & 0 deletions lua/guard-collection/formatter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ M.csharpier = {
stdin = true,
}

M.dart = {
cmd = 'dart',
args = { 'format' },
stdin = true,
}

M.djhtml = {
cmd = 'djhtml',
args = { '-' },
Expand Down

0 comments on commit 9530991

Please sign in to comment.