mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-25 13:14:42 +02:00
be explicit about stdin for formatters (#987)
This commit is contained in:
parent
ad373002d8
commit
3f4cf5f01d
13 changed files with 21 additions and 13 deletions
|
@ -6,6 +6,7 @@ M.config = function()
|
|||
formatter = {
|
||||
exe = "dart",
|
||||
args = { "format" },
|
||||
stdin = true,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
@ -16,7 +17,7 @@ M.format = function()
|
|||
return {
|
||||
exe = O.lang.dart.formatter.exe,
|
||||
args = O.lang.dart.formatter.args,
|
||||
stdin = not (O.lang.dart.formatter.stdin ~= nil),
|
||||
stdin = O.lang.dart.formatter.stdin,
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue