diff options
author | John Wiegley <johnw@newartisans.com> | 2011-03-07 20:26:16 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-03-07 20:26:16 -0500 |
commit | 4ce186fa806753c2d4d230dcfa54bf7fd79b9cd3 (patch) | |
tree | 56b9b236364fba5e1fb42c39de5c110a2c9c223f | |
parent | dc03c646eb65f50210e06c48d30f6b24f05c5f1c (diff) | |
parent | da341726c2f0518ae29c7d0f42244a1460f96969 (diff) | |
download | fork-ledger-4ce186fa806753c2d4d230dcfa54bf7fd79b9cd3.tar.gz fork-ledger-4ce186fa806753c2d4d230dcfa54bf7fd79b9cd3.tar.bz2 fork-ledger-4ce186fa806753c2d4d230dcfa54bf7fd79b9cd3.zip |
Merge remote-tracking branch 'cypok/next' into next
-rw-r--r-- | contrib/vim/syntax/ledger.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/vim/syntax/ledger.vim b/contrib/vim/syntax/ledger.vim index d4097e2b..c6845488 100644 --- a/contrib/vim/syntax/ledger.vim +++ b/contrib/vim/syntax/ledger.vim @@ -35,7 +35,7 @@ syn match ledgerPosting /^\s\+[^[:blank:];][^;]*\ze\%($\|;\)/ \ contained transparent contains=ledgerAccount,ledgerMetadata " every space in an account name shall be surrounded by two non-spaces " every account name ends with a tab, two spaces or the end of the line -syn match ledgerAccount /^\s\+\zs\%(\S \S\|\S\)\+\ze\%( \|\t\|\s*$\)/ contained +syn match ledgerAccount /^\s\+\zs\%(\S\@<= \S\|\S\)\+\ze\%( \|\t\|\s*$\)/ contained syn match ledgerComment /^;.*$/ " comments at eol must be preceeded by at least 2 spaces / 1 tab |