Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Download the latest release for your platform from the [releases page](https://g

**Supported Platforms:**
- Linux (x86_64, aarch64, loongarch64)
- macOS (x86_64, aarch64)
- macOS (x86_64, aarch64)
- Windows (x86_64)

### Method 3: Homebrew (macOS/Linux)
Expand Down Expand Up @@ -221,6 +221,29 @@ This controls the whitespace between numbers and currency codes:

### Neovim

Using `nvim.lsp` (nvim > 0.11)

`lsp/beancount.lua`
```lua
return {
commands = { "beancount-language-server", "--stdio" },
root_markers = { "main.bean", ".git" },
init_options = {
journal_file = "main.bean",
}
settings = {
beancount = {
formatting = {
prefix_width = 30,
currency_column = 60,
number_currency_spacing = 1,
}
}
}
}
```


Using [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig):

```lua
Expand Down Expand Up @@ -508,4 +531,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file

<p align="center">
<strong>Happy Beancounting! 📊✨</strong>
</p>
</p>