diff options
author | Craig Earls <enderw88@gmail.com> | 2013-01-31 21:18:52 -0800 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-01-31 21:18:52 -0800 |
commit | 6718b689991250fc97b0c43ec96328ca2e72e4f3 (patch) | |
tree | 0c455924cf3dfa1a07debfd38bdc1cd5ecf5d20e /lisp/ldg-mode.el | |
parent | 9e9d99e9187093b459525e3fd7e654d57000c3c4 (diff) | |
parent | 7cb3b099867b0537ae055431dc33454836eb0bc6 (diff) | |
download | fork-ledger-6718b689991250fc97b0c43ec96328ca2e72e4f3.tar.gz fork-ledger-6718b689991250fc97b0c43ec96328ca2e72e4f3.tar.bz2 fork-ledger-6718b689991250fc97b0c43ec96328ca2e72e4f3.zip |
Merge pull request #143 from enderw88/ledger-mode-font-lock-improvements
Ledger mode font lock improvements
Diffstat (limited to 'lisp/ldg-mode.el')
-rw-r--r-- | lisp/ldg-mode.el | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lisp/ldg-mode.el b/lisp/ldg-mode.el index 128dfeac..10497749 100644 --- a/lisp/ldg-mode.el +++ b/lisp/ldg-mode.el @@ -38,19 +38,6 @@ customizable to ease retro-entry.") :type 'string :group 'ledger) -(defvar bold 'bold) -(defvar ledger-font-lock-keywords - '(("\\( \\| \\|^\\)\\(;.*\\)" 2 font-lock-comment-face) - ("^[0-9]+[-/.=][-/.=0-9]+\\s-+\\(([^)]+)\\s-+\\)?\\([^*].+?\\)\\(\\( ;\\| ;\\|$\\)\\)" 2 bold) - ;;("^[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)) - "Expressions to highlight in Ledger mode.") (defvar ledger-mode-abbrev-table) |