commit fc3b3124e19bedc919cd9750596fa7142df7637a
parent 73be8007d845f29e0b9cb455ceaa2a5166e4de8f
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 19 Sep 2025 18:18:44 +0900
nvim: set bean-format currency column
Format beancount files to use 100 as the currency column to avoid
constant reformats.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.config/nvim/after/ftplugin/beancount.lua b/.config/nvim/after/ftplugin/beancount.lua
@@ -1,5 +1,5 @@
vim.api.nvim_create_autocmd("BufWritePost", {
pattern = "*.beancount",
- command = "silent !bean-format % -o %",
+ command = "silent !bean-format % -c 100 -o %",
desc = "Run bean-format on save",
})