Skip to content

Commit eee1e87

Browse files
committed
put state in front of (code), fixes #10
1 parent 086a84b commit eee1e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/ledger.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ function! s:transaction.format_head() dict "{{{2
253253

254254
let parts = []
255255
if has_key(self, 'date') | call add(parts, self['date']) | endif
256-
if has_key(self, 'code') | call add(parts, '('.self['code'].')') | endif
257256
if has_key(self, 'state') | call add(parts, self['state']) | endif
257+
if has_key(self, 'code') | call add(parts, '('.self['code'].')') | endif
258258
if has_key(self, 'description') | call add(parts, self['description']) | endif
259259

260260
let line = join(parts)

0 commit comments

Comments
 (0)