aboutsummaryrefslogtreecommitdiffstats
path: root/rplugin/python3/deoplete/sources
diff options
context:
space:
mode:
authorJakob Schnitzer2016-11-21 10:21:57 +0100
committerJakob Schnitzer2016-11-21 10:21:57 +0100
commit81e9f05e3a1eac547813b7d80bf7417f38be8346 (patch)
treebba96bd7fd79bbca27c1258be94a39b518397218 /rplugin/python3/deoplete/sources
parent11b166d9efb5e0f51a1fad42fe62e5c867d4a6db (diff)
downloadvim-beancount-81e9f05e3a1eac547813b7d80bf7417f38be8346.tar.gz
deoplete: use b:beancount_root
Diffstat (limited to '')
-rw-r--r--rplugin/python3/deoplete/sources/beancount.py2
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 = []