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:
Complete by abbreviation:
Prerequisites:
pip3 install neovim
pip3 install beancount
Install with your favorite package manager:
use('crispgm/cmp-beancount')
Then, setup completion source:
require('cmp').setup {
sources = {
{
name = 'beancount',
option = {
account = '/path/to/account.bean'
}
}
}
}
MIT