mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(dart): add file name to formatter
Fix dart_format failing to format because there wasn't a file name included.
This commit is contained in:
parent
e8a1d8b628
commit
19f8738dec
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ return {
|
||||||
opts = {
|
opts = {
|
||||||
formatters = {
|
formatters = {
|
||||||
dart_format = {
|
dart_format = {
|
||||||
args = { "format", "--line-length", "120" },
|
args = { "format", "--line-length", "120", "$FILENAME" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue