diff options
author | Jakob Schnitzer | 2016-11-21 10:21:57 +0100 |
---|---|---|
committer | Jakob Schnitzer | 2016-11-21 10:21:57 +0100 |
commit | 81e9f05e3a1eac547813b7d80bf7417f38be8346 (patch) | |
tree | bba96bd7fd79bbca27c1258be94a39b518397218 /rplugin/python3/deoplete/sources/beancount.py | |
parent | 11b166d9efb5e0f51a1fad42fe62e5c867d4a6db (diff) | |
download | vim-beancount-81e9f05e3a1eac547813b7d80bf7417f38be8346.tar.gz |
deoplete: use b:beancount_root
Diffstat (limited to 'rplugin/python3/deoplete/sources/beancount.py')
-rw-r--r-- | rplugin/python3/deoplete/sources/beancount.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rplugin/python3/deoplete/sources/beancount.py b/rplugin/python3/deoplete/sources/beancount.py index 4618105..f595a54 100644 --- a/rplugin/python3/deoplete/sources/beancount.py +++ b/rplugin/python3/deoplete/sources/beancount.py @@ -54,7 +54,7 @@ class Source(Base): payees = set() tags = set() if HAS_BEANCOUNT: - entries, _, _ = load_file(self.vim.eval("expand('%')")) + entries, _, _ = load_file(self.vim.eval("beancount#get_root()")) else: entries = [] |