An open API service indexing awesome lists of open source software.

https://github.com/crispgm/cmp-beancount

nvim-cmp source for beancount accounts
https://github.com/crispgm/cmp-beancount

beancount neovim-plugin nvim-cmp

Last synced: 9 months ago
JSON representation

nvim-cmp source for beancount accounts

Awesome Lists containing this project

README

          

# cmp-beancount

nvim-cmp source for beancount accounts.

cmp-beancount completes based on prefix and prefix abbreviation (e.g. `E:D:C` to `Expenses:Drinks:Coffee`) of beancount account names.

Complete by prefix:
![Completion](./screenshots/completion.png)

Complete by abbreviation:
![Abbreviation](./screenshots/abbreviation.png)

## Setup

Prerequisites:

```shell
pip3 install neovim
pip3 install beancount
```

Install with your favorite package manager:
```lua
use('crispgm/cmp-beancount')
```

Then, setup completion source:
```lua
require('cmp').setup {
sources = {
{
name = 'beancount',
option = {
account = '/path/to/account.bean'
}
}
}
}
```

## License

MIT