Merge branch 'next' of github.com:jwiegley/ledger into next
This commit is contained in:
commit
24d6619a52
2 changed files with 5 additions and 4 deletions
|
|
@ -1305,8 +1305,9 @@ The format of each following posting is:
|
|||
ACCOUNT AMOUNT [; NOTE]
|
||||
@end example
|
||||
|
||||
The @samp{ACCOUNT} may be surrounded by parentheses if it is a virtual
|
||||
postings, or square brackets if it is a virtual postings that
|
||||
Note that there must be at least two spaces between @samp{ACCOUNT} and
|
||||
@samp{AMOUNT}. The @samp{ACCOUNT} may be surrounded by parentheses if it
|
||||
is a virtual posting or square brackets if it is a virtual posting that
|
||||
must balance. The @samp{AMOUNT} can be followed by a per-unit
|
||||
posting cost, by specifying @samp{@@ AMOUNT}, or a complete
|
||||
posting cost with @samp{@@@@ AMOUNT}. Lastly, the @samp{NOTE} may
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue