Skip to content

nvim-cmp source for beancount accounts

License

Notifications You must be signed in to change notification settings

crispgm/cmp-beancount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Complete by abbreviation: Abbreviation

Setup

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'
      }
    }
  }
}

License

MIT

About

nvim-cmp source for beancount accounts

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages