diff --git a/user-global/elisp/beancount.el b/user-global/elisp/beancount.el index 8cb8302..e3ad3c2 100644 --- a/user-global/elisp/beancount.el +++ b/user-global/elisp/beancount.el @@ -733,7 +733,7 @@ Optionally also look at data in selected FILES." ;; source https://github.com/debanjum/company-ledger/blob/master/company-ledger.el ;; TODO reverse list, newest one first ;; current workaround: keyword and year - ((beancount-looking-at "^[A-za-z ]+" 0 pos) + ((beancount-looking-at "^[A-za-z]+[A-za-z00-9 ]" 0 pos) (list (match-beginning 0) (match-end 0) ; (lambda (c) (company-ledger--fuzzy-word-match arg c)) (company-ledger--get-all-postings)))