forked from ledger/vim-ledger
-
Notifications
You must be signed in to change notification settings - Fork 0
Update #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Update #1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When using ledger with the `--strict` option, you need to declare all your used accounts. These declarations can additionally be used to complete account names. ledger#declared_accounts() works a lot like ledger#transactions(), on which it is based. s:collect_completion_data() can then take the list of declared accounts as an initial value to which it then adds the accounts used in transactions. Signed-off-by: Roland Hieber <[email protected]>
Fixed minor typo
Resolves all current concerns in ledger/vim-ledger issue #64.
This commit detect the location of the decimal point consistently in the following circumstances (given g:ledger_decimal_sep='.'): -30 = 0 456.78 It uses the decimal point location if it can be found, and if it cannot, it uses the first character after the first group of digits.
When account names are too long, LedgerAlign was currupting the aligned lines. This commit ensures that: - In any case, if the account name is longer than the aligning column, the line is not corrupted and the amount is put at the end of the line (instead of putting it in the middle of the account name) - In any case, it ensures that there is a minimum of 2 spaces between the account name and the amount.
Fix LedgerAlign corruptions
Fix report highlighting
Allow completion from declared accounts
Disable spell highlighting for amount fields
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.