-
Notifications
You must be signed in to change notification settings - Fork 1
/
LedgerTools.sublime-settings
69 lines (60 loc) · 2.21 KB
/
LedgerTools.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// LedgerTools Preferences
//
// Keep in the User directory. Personalize as needed
{
// ------------------------------------------------------------------
// File settings
// ------------------------------------------------------------------
// Valid ledger extensions.
// The commands only work inside such files.
//
"valid_ledger_file_ext": [".ledger", ".journal", ".ldg", ".ldgr"],
// The definition file location.
// To keep the journal clear, it is recommended to divide the main
// ledger file in two parts:
// - The first one which is the definition file contains all
// payee, account, automatic transaction, ...
// - The second one contains the main journal content, i.e. the
// user transactions.
//
// LedgerTools needs the definition file to get the payee, accounts
// and automatic transactions for its main features.
//
// If no location is given, the commands will simply not work.
// If the definition and the transaction journals are the same,
// simply give the location for that file.
//
"definition_filename": "",
// ------------------------------------------------------------------
// Amount auto-align settings
// ------------------------------------------------------------------
// Aumount auto-align status.
// If true, this feature is enabled.
// Default: true
//
"automatic_amount_alignment": true,
// The dot position.
// This sets the amount dot position in the line.
// Default: 58
//
"dot_pos": 58,
// ------------------------------------------------------------------
// Account and payee insertion settings
// ------------------------------------------------------------------
// Virtual account regex.
// This is a regular expression to detect virtual accounts.
// For e.g., if the definition file contains the following lines:
//
// account MyVirtualAccount
// account MyNormalAccount
//
// and the virtual account regex is "Vir(t|T)ual", then the two account
// will be inserted as
//
// [MyVirtualAccount]
// MyNormalAccount
//
// Default is "" for no square bracket insertion.
//
"virtual_regex": "",
}