dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 2361dbae321a82651b6fa3d4e58a0222b5d83ce0
parent f99564d615d31d7ac75d357d606fe1d997d1183b
Author: Chris Bracken <chris@bracken.jp>
Date:   Sat, 18 Oct 2025 11:45:27 +0900

nvim: format beancount currency to 80th column

Diffstat:
M.config/nvim/after/ftplugin/beancount.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.config/nvim/after/ftplugin/beancount.lua b/.config/nvim/after/ftplugin/beancount.lua @@ -13,8 +13,8 @@ vim.api.nvim_create_autocmd("BufWritePost", { -- prices_* are formatted without a hardcoded currency column. cmd = string.format("silent !bean-format %s -o %s", vim.fn.shellescape(filepath), vim.fn.shellescape(filepath)) else - -- other beancount files are formatted with currency on 100th column. - cmd = string.format("silent !bean-format -c 100 %s -o %s", vim.fn.shellescape(filepath), vim.fn.shellescape(filepath)) + -- other beancount files are formatted with currency on 80th column. + cmd = string.format("silent !bean-format -c 80 %s -o %s", vim.fn.shellescape(filepath), vim.fn.shellescape(filepath)) end vim.cmd(cmd) end,