Skip to content

Commit 0ddb038

Browse files
authored
fix(bean_format): fix bean_format for beancount v3 (#297)
bean-format from beancount v3 requires '-' to read from stdin. beancount v2 works both ways.
1 parent 53ec771 commit 0ddb038

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/null-ls/builtins/formatting/bean_format.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ return h.make_builtin({
1717
filetypes = { "beancount" },
1818
generator_opts = {
1919
command = "bean-format",
20+
args = { "-" },
2021
to_stdin = true,
2122
},
2223
factory = h.formatter_factory,

0 commit comments

Comments
 (0)