nathangrigg / vim-beancount

Vim ftplugin for beancount
161 stars 41 forks source link

Omni-completion verbosely fails when beancount tools aren't present #27

Open jtraub opened 8 years ago

jtraub commented 8 years ago

If Beancount tools aren't present in $PATH an attempt to use omni-completion will fail verbosely.

See attached screenshot

image

What I expect: quiet failure (no completion/empty completion list).

The problem happens because Python code in beancount#query_single function doesn't handle exceptions. I will send a PR in a day or two to address it.