1
0
Fork 0

fix(emacs): configure hledger-mode further

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2023-12-31 08:04:36 -05:00
parent ebd48de368
commit 55148c0726
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -84,6 +84,14 @@
;; hledger
(setq hledger-currency-string "$")
(add-to-list 'auto-mode-alist '("\\.journal\\'" . hledger-mode))
(setq hledger-jfile "~/finance/2024.journal")
(add-to-list 'company-backends 'hledger-company)
(add-to-list 'ac-modes 'hledger-mode)
(add-hook 'hledger-mode-hook
(lambda ()
(setq-local ac-sources '(hledger-ac-source))))
;; SLIME
(setq inferior-lisp-program "sbcl")