diff options
author | Craig Earls <enderw88@gmail.com> | 2013-04-22 06:39:47 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-04-22 06:39:47 -0700 |
commit | f688b314d72f6cc3121ab39ce225e5e6d07c547a (patch) | |
tree | dfe937fe497c20f8528f8ec6154b06696984c887 /lisp/ldg-mode.el | |
parent | 26fd5b26d863e2aa729b818b2fab33cffbcc306e (diff) | |
parent | ebdff209ab8762367ce0db66ad0fa386642e61ad (diff) | |
download | fork-ledger-f688b314d72f6cc3121ab39ce225e5e6d07c547a.tar.gz fork-ledger-f688b314d72f6cc3121ab39ce225e5e6d07c547a.tar.bz2 fork-ledger-f688b314d72f6cc3121ab39ce225e5e6d07c547a.zip |
Merge pull request #178 from georgek/regex
Add highlighting for multiple line comments
Diffstat (limited to 'lisp/ldg-mode.el')
-rw-r--r-- | lisp/ldg-mode.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ldg-mode.el b/lisp/ldg-mode.el index 2b707e26..160296c3 100644 --- a/lisp/ldg-mode.el +++ b/lisp/ldg-mode.el @@ -110,6 +110,10 @@ Can indent, complete or align depending on context." (if (boundp 'font-lock-defaults) (set (make-local-variable 'font-lock-defaults) '(ledger-font-lock-keywords nil t))) + (setq font-lock-extend-region-functions + (list #'font-lock-extend-region-wholelines + #'ledger-extend-region-multiline-comment)) + (setq font-lock-multiline nil) (set (make-local-variable 'pcomplete-parse-arguments-function) 'ledger-parse-arguments) |