Hello there, I've just started to work with ledger a week ago and am now switching to emacs for a couple of reasons.
For my personal ledger workflow, there are two things I would like to acheive, the first one of which I'm addressing in this topic. -------------------- How can I adjust ledger-mode syntax highlighting such that a posting's account name is colored differently depending on an initial substring? I put all accounts either under "Assets:", "Equity:", "Liabilities:", or "Budgets:" and would love to see each of these four groups being colored differently while I work on the file. I already found ledger-fonts.el and tried to replace ,ledger-posting-regex near the end of the file by my own regexes, but it seems to have no effect. Even if I comment out this part, syntax highlighting stays the same. Do I still need to update the emacs settings somehow? And is there maybe a "cleaner" way to acheive this? As I'm really new to emacs and elisp, I'm not sure how I can do this best. Any help is greatly appreciated! -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/90129315-7e06-4870-aabd-4727420d58d5o%40googlegroups.com.
