summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDan Peterson <dpiddy@gmail.com>2011-08-28 12:31:42 -0300
committerDan Peterson <dpiddy@gmail.com>2011-08-28 12:31:42 -0300
commit8834fc0c15a53b8db8c2aaee95d2b25a050fe786 (patch)
treeb3c1878428b939d1ba9292bb140f5c1a7a041262 /lisp
parentf0791bbd7297e737d9e13d0b0bb21473b173b2a7 (diff)
downloadfork-ledger-8834fc0c15a53b8db8c2aaee95d2b25a050fe786.tar.gz
fork-ledger-8834fc0c15a53b8db8c2aaee95d2b25a050fe786.tar.bz2
fork-ledger-8834fc0c15a53b8db8c2aaee95d2b25a050fe786.zip
Highlight account names with spaces.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ldg-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ldg-mode.el b/lisp/ldg-mode.el
index 3e9a9106..cc9e8d92 100644
--- a/lisp/ldg-mode.el
+++ b/lisp/ldg-mode.el
@@ -10,8 +10,8 @@
;;("^[0-9]+[-/.=][-/.=0-9]+\\s-+\\(([^)]+)\\s-+\\)?\\([*].+?\\)\\(\\( ;\\| ;\\|$\\)\\)"
;; 2 font-lock-type-face)
("^\\s-+\\([*]\\s-*\\)?\\(\\([[(]\\)?[^*:
- ]+?:[^]);
- ]+?\\([])]\\)?\\)\\( \\| \\|$\\)"
+ ]+?:\\([^]);
+ ]\\|\\s-\\)+?\\([])]\\)?\\)\\( \\| \\|$\\)"
2 font-lock-keyword-face)
("^\\([~=].+\\)" 1 font-lock-function-name-face)
("^\\([A-Za-z]+ .+\\)" 1 font-lock-function-name-face))