Skip to content

Commit f8a7633

Browse files
EdwardBettskljohann
authored andcommitted
correct spelling mistakes
1 parent 6a3ec7e commit f8a7633

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoload/ledger.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ endf
2121

2222
function! ledger#transaction_state_set(lnum, char)
2323
" modifies or sets the state of the transaction at the cursor,
24-
" removing the state alltogether if a:char is empty
24+
" removing the state altogether if a:char is empty
2525
let trans = s:transaction.from_lnum(a:lnum)
2626
if empty(trans) || has_key(trans, 'expr')
2727
return

syntax/ledger.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ syn match ledgerPreDeclarationName /^\S\+\s\+\zs.*/ contained
4949
syn match ledgerPreDeclarationDirective /^\s\+\zs\S\+/ contained
5050

5151
syn match ledgerComment /^;.*$/
52-
" comments at eol must be preceeded by at least 2 spaces / 1 tab
52+
" comments at eol must be preceded by at least 2 spaces / 1 tab
5353
syn region ledgerMetadata start=/\%( \|\t\|^\s\+\);/ skip=/^\s\+;/ end=/^/
5454
\ keepend contained contains=ledgerTags,ledgerValueTag,ledgerTypedTag
5555
exe 'syn match ledgerTags '.

0 commit comments

Comments
 (0)