forked from SublimeText/LaTeXTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LaTeXTools.sublime-settings
643 lines (548 loc) · 25.7 KB
/
LaTeXTools.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
// LaTeXTools Preferences DEFAULT SETTINGS
//
// DO NOT EDIT THIS FILE!!! Open the Command Palette and run the "Reconfigure and migrate settings"
// command. Alternatively, select the "Reconfigure LaTeXTools and migrate settings" item from the
// Preferences, Package Settings, LaTeXTools menu, or open the ST console and type
// sublime.run_command("latextools_migrate")
// This will migrate your old settings and create a file "LaTeXTools.sublime-settings" in your
// User directory. You can also manually copy this file to the User directory.
//
// Once the file is in the User directory, you can edit it at will.
{
// ------------------------------------------------------------------
// General settings
// ------------------------------------------------------------------
// Cite/ref autocompletion by default is triggered after e.g. \ref{. If you don't like this,
// set to false. You can also use toggles: C-l,t,a,c and C-l,t,a,r.
"cite_auto_trigger": true,
"ref_auto_trigger": true,
// Fill-helper autocompletion triggered for a wide range of references to external
// files. You can also use toggle: C-l,t,a,f
"fill_auto_trigger": true,
// Fill-helper autocompletion trigger for environment names after \begin{ and \end{
// this requires the LaTeX-cwl package and might not have a complete list of all environments.
// You can also use toggle: C-l,t,a,e
"env_auto_trigger": false,
// Fill-helper autocompletion trigger for glossary entries \gls{ and \acrfull{
"glossary_auto_trigger": true,
// Fill-helper autocompletion trigger for tex directive values after TEX directive=
// You can also use toggle: C-l,t,a,d
"tex_directive_auto_trigger": true,
// Controls whether the various fill-helpers should try to insert a
// completing }, ], or ) when inserted and either the C-l,C-f or C-l,x
// keybindings were used to trigger the completion. This attempts to be smart
// about where to place the bracket, but may not work for all cases, particularly
// when a command is spread across mutliple lines.
// You can also use the toggle C-l,t,a,b
"smart_bracket_auto_trigger": true,
// Controls whether the labels should automatically filled with a suggestion based
// on the section command.
"auto_label_auto_trigger": true,
// Keep focus on Sublime Text after building (true) or switch to PDF viewer (false)
// If you are on Windows or Linux and using ST2, you may need to set the
// "sublime_executable" setting for this to work in your platform settings.
"keep_focus": true,
// Sync PDF to current editor position after building (true) or not
"forward_sync": true,
// Set this to false to disable the overwriting of the goto overlay for the hotkey `C-r` and `C-shift-r`
// You can still access the "table of content quickpanel" via `C-l, C-r` and `C-shift-l, C-r`
"overwrite_goto_overlay": true,
// If smart paste is enabled LaTeXTools will overwrite the C-v command and
// analyze the clipboard content to check whether it should execute an action.
// So you can just paste image urls or paths into Sublime Text and it will automatically
// download the image and create a figure environment.
"enable_smart_paste": true,
// When to trigger cwl-command completion (requires the LaTeX-cwl package)
// possible values are:
// "always" (always show command completions)
// "prefixed" (default, show command completions if the current word is prefixed with '\')
// "never" (never show command completions)
"command_completion": "prefixed",
// valid texfile extensions
"tex_file_exts": [".tex"],
// controls whether or not syntax is automatically set to LaTeX for
// files that match one of the configured `tex_file_exts`
"latextools_set_syntax": true,
// set to true to use BibLaTeX instead of BibTex for bibliography completions
// can also be set on a per-project basis
"use_biblatex": false,
// the mapping from the locales to the dictionaries for the
// `%!TEX spellcheck` directive, where the locales must be all lowercase
// and separated by a minus sign (-). The dictionaries must be valid path
// and compatible with the ST integrated spellcheck
// e.g.
// { "en-en": "Packages/Language - English/en_GB.dic" }
"tex_spellcheck_paths": {},
// sublevel to show counts for
// passed to texcount via the -sub= paramater
// valid values: "none", "part", "chapter", "section"
"word_count_sub_level": "none",
// ------------------------------------------------------------------
// Preview settings
// ------------------------------------------------------------------
// MATH LIVE PREVIEW
// The preview mode for math live preview, possible values are:
// "all" to show a phantom for each math environment
// "selected" to show a phantom only for the currently selected math environment
// "none" to disable math live preview
"preview_math_mode": "selected",
// Change the scope selectors to preview math
// E.g. set it to "text.tex.latex meta.environment.math.block.be"
// to only preview math environment
// Set it to "text.tex.latex meta.environment.math"
// to preview every math command or environment
"preview_math_scope": "text.tex.latex meta.environment.math.block",
// The program to compile the latex template files, possible values are
// pdflatex, xelatex, lualatex, latex
// DON'T(!) use tex engines like pdftex
"preview_math_latex_compile_program": "pdflatex",
// The color of the text in the preview math phantoms.
// Ensure you have the latex xcolor package available to change the color.
// The format can either be RGB based "#RRGGBB" (e.g. "#FFFF00")
// or a color name (e.g. "yellow")
// If it is the empty string "" it will be guessed based in the color scheme.
"preview_math_color": "",
// The background color of the preview math phantoms.
// In contrast to the foreground color you may also edit your colorscheme to change this.
// The format can either be RGB(A) based "#RRGGBB" (e.g. "#0000FF50")
// or a color name (e.g. "blue")
// If it is the empty string "" the default color will be used.
"preview_math_background_color": "",
// An array of the used packages, from which the file for the live preview
// will be generated.
// Just write \\usepackage{packagename} to include other packages.
// (The xcolor package will be present, even if not in this list.)
"preview_math_template_packages": [
"\\usepackage{amsmath}",
"\\usepackage{amssymb}",
"\\IfFileExists{latexsym.sty}{\\usepackage{latexsym}}{}",
"\\IfFileExists{mathtools.sty}{\\usepackage{mathtools}}{}"
],
// An string of the remaining preamble (not packages) for the file,
// which generates the math live preview.
// Can also be an array, with an string for each line (as in the packages).
// For technical reasons DON'T include other files.
"preview_math_template_preamble": "",
// The preview functionality by default appends a star (*) to each
// math environments, since we cannot and want not track the
// equation numbers. This may not be possible with each environment,
// therefore you can create a blacklist of such environments here.
"preview_math_no_star_envs": ["displaymath"],
// IMAGE PREVIEW
// The preview mode for image preview, possible values are:
// "all" to show a phantom for each includegraphics command
// "selected" to show a phantom only for the currently selected includegraphics command
// "hover" to show a popup if you hover over an includegraphics command
// "none" to disable image preview
"preview_image_mode": "hover",
// The image size in the preview popup.
// These are the outer dimensions of the maximal size.
// The image will be scaled down to fit into these dimensions.
// It can either be an number or an array, which consist of two numbers
// e.g. [200, 150]
"preview_popup_image_size": 200,
// The image size in the preview phantoms.
// These are the outer dimensions of the maximal size.
// The image will be scaled down to fit into these dimensions.
// It can either be an number or an array, which consist of two numbers
// e.g. [200, 150]
"preview_phantom_image_size": 150,
// Increase this number to get a better resolution on high dpi displays.
// Control the thumbnail image size, which will be generated to preview
// images, that are not natively supported like pdf files.
// E.g. a image size of 300 with a scale of 2 will create a
// thumbnail with the size 600, which is scaled down in the popup.
"preview_image_scale_quotient": 1,
// ------------------------------------------------------------------
// Temporary file settings
// ------------------------------------------------------------------
// Ends of the names of temporary files to be deleted
"temp_files_exts": [
".blg",".bbl",".aux",".log",".brf",".nlo",".out",".dvi",".ps",
".lof",".toc",".fls",".fdb_latexmk",".pdfsync",".synctex.gz",
".ind",".ilg",".idx"
],
// Folders that are not traversed when deleting temp files
"temp_files_ignored_folders": [
".git", ".svn", ".hg"
],
// If true, deleting temporary files will display an
// "Are you sure" prompt
"temp_files_prompt_on_delete": false,
// ------------------------------------------------------------------
// Platform settings: adapt as needed for your machine
// ------------------------------------------------------------------
"osx": {
// Path used when invoking tex & friends; MUST include $PATH
"texpath" : "$PATH:/Library/TeX/texbin:/usr/texbin:/usr/local/bin:/opt/local/bin"
},
"windows": {
// Path used when invoking tex & friends; "" is fine for MiKTeX
// For TeXlive 2011 (or other years) use
// "texpath" : "C:\\texlive\\2011\\bin\\win32;$PATH",
"texpath" : "",
// TeX distro: "miktex" or "texlive"
"distro" : "miktex",
// Command to invoke Sumatra. If blank, "SumatraPDF.exe" is used (it has to be on your PATH)
"sumatra": "",
// Command to invoke Sublime Text. Used if the keep_focus toggle is true.
// If blank, "subl.exe" or "sublime_text.exe" will be used.
"sublime_executable": "",
// how long (in seconds) to wait after the latextools_jump_to_pdf command completes
// before switching focus back to Sublime Text. This may need to be
// adjusted depending on your machine and configuration.
"keep_focus_delay": 0.5
},
"linux" : {
// Path used when invoking tex & friends; MUST include $PATH
"texpath" : "$PATH:/usr/texbin",
// Command to invoke Python. Useful if you have Python installed in a
// non-standard location or want to use a particular version of python.
// Both Python2 and Python3 are supported, but must have the DBus bindings
// installed.
"python": "",
// The name of the ST2 or ST3 executable. On Ubuntu, both subl and sublime-text are
// available for ST2; adjust as needed for other platforms, and for ST3
"sublime": "sublime-text",
// How long to wait after evince or okular has launched before sending a sync message
// in seconds, floating point; choose 2.0 or 3.0 on a slower machine, 0.5 on a fast one
// Note: only tweak this if sync after launching the PDF viewer does not seem to work,
// or if the PDF viewer opens instantly and you don't want to wait.
// Default: 1.5 (works on my MBP4,1...)
"sync_wait": 1.5,
// Command to invoke Sublime Text. Used if the keep_focus toggle is true.
// If blank, "subl" or "sublime_text" will be used.
"sublime_executable": "",
// how long (in ms) to wait after the latextools_jump_to_pdf command completes
// before switching focus back to Sublime Text. This may need to be
// adjusted depending on your machine and configuration.
"keep_focus_delay": 0.5
},
// ------------------------------------------------------------------
// Output Directory settings settings
// ------------------------------------------------------------------
// OPTION: "aux_directory"
// Specifies the auxiliary directory
// Possible values:
//
// "" the default; does not use any auxiliary directory
//
// path the path to the auxiliary directory; if this is
// not an absolute path it is interpreted as a
// path relative to the main tex file
//
// "<<temp>>" the auxiliary directory will be a temporary
// directory generated in as secure a manner as
// possible; note that this temporary directory
// is only valid until ST is restarted and will
// be deleted on the next start-up
//
// "<<project>>" this creates an auxiliary directory in the same
// folder as the main tex file; the name is the
// MD5 hash of the absolute path of the main file;
// unlike <<temp>> this directory will persist
//
// "<<cache>>" this creates an auxiliary directory in the ST
// cache directory on ST3 or a suitable directory
// on ST2; unlike <<temp>> this directory will
// persist; unlike <<project>>, it will not be
// in the same directory as the main tex file
//
// NOTE: This setting will be overridden by the corresponding
// %!TEX directive if any; also, while it is possible to define
// a global value here, it may make more sense to define this
// value in your project settings if you use STs project feature
// if you do so, however, note that the path will be interpreted
// relative to the location of your project file
"aux_directory": "",
// OPTION: "output_directory"
// Specifies the output directory
// Possible values:
//
// "" the default; does not use any output directory
//
// path the path to the output directory; if this is
// not an absolute path it is interpreted as a
// path relative to the main tex file
//
// "<<temp>>" the output directory will be a temporary
// directory generated in as secure a manner as
// possible; note that this temporary directory
// is only valid until ST is restarted and will
// be deleted on the next start-up
//
// "<<project>>" this creates an output directory in the same
// folder as the main tex file; the name is the
// MD5 hash of the absolute path of the main file;
// unlike <<temp>> this directory will persist
//
// "<<cache>>" this creates an output directory in the ST
// cache directory on ST3 or a suitable directory
// on ST2; unlike <<temp>> this directory will
// persist; unlike <<project>>, it will not be
// in the same directory as the main tex file
//
// NOTE: This setting will be overridden by the corresponding
// %!TEX directive if any; also, while it is possible to define
// a global value here, it may make more sense to define this
// value in your project settings if you use STs project feature
// if you do so, however, note that the path will be interpreted
// relative to the location of your project file
"output_directory": "",
// OPTION: "jobname"
// Specifies the jobname to use when building the document
"jobname": "",
// OPTION: "copy_output_on_build"
// Specifies whether to copy the final PDF file to the same folder
// as the main tex file; if it is neither true nor false it must be
// as list of extensions of the files to copy into the same folder as
// the main tex file; this only applies if an output directory is
// set via a setting or a `%!TEX` directive
"copy_output_on_build": true,
// ------------------------------------------------------------------
// Build engine settings
// ------------------------------------------------------------------
// OPTION: "builder"
// Specifies a build engine
// Possible values:
//
// "default" or "" the default built-in build engine; currently
// this is the same as "traditional"
//
// "basic" invokes pdflatex / xelatex / lualatex as
// needed, then biber / bibtex and pdflatex /
// xelatex / lualatex again if needed. Unlike
// the "simple" builder this supports most of
// LaTeXTools builder features.
//
// "script" external script: invokes the set of commands
// specified in the "script_commands" setting
// in the platform-specific part of the
// "builder_settings"
//
// "simple" invokes pdflatex 1x or 2x as needed, then
// bibtex and pdflatex again if needed;
// intended mainly as a simple example for
// people writing their own build engines.
//
// "traditional" replicates the 'old' system based on
// latexmk (TeXLive) / texify (MiKTeX)
//
// custom name you can also use third-party build engines;
// if so, set the "builder_path" option below
//
// NOTE: custom builders CANNOT have the same name as an existing
// built-in build engine (including "default")
"builder": "traditional",
// OPTION: "builder_path"
// If non-empty, specifies a path to a custom builder, relative to the
// Sublime Text Packages directory.
// For instance, "User/builders" (on Windows: "User\builders") is a good
// choice if you roll your own.
// (Note: if you choose "User", you may get a Python import error in the
// console, but things will still work).
// Leave empty ("") for a built-in builder.
"builder_path": "",
// OPTION: "builder_settings"
// Specify builder-dependent settings and preferences
// Possible values: see README or documentation provided with
// third-party build engine.
// Builder setting can be general or OS-dependent
"builder_settings" : {
// General settings:
// See README or third-party documentation
// (built-ins): true shows the log of each command in the output panel
"display_log" : false,
// Platform-specific settings:
"osx" : {
// See README or third-party documentation
},
"windows" : {
// See README or third-party documentation
},
"linux" : {
// See README or third-party documentation
}
},
// ------------------------------------------------------------------
// Build panel and phantoms settings
// ------------------------------------------------------------------
// OPTION: "highlight_build_panel"
// adds syntax highlighting to the build panel so that errors, warnings, etc.
// show up in different colors; if set to false, the panel will be left as-is.
"highlight_build_panel": true,
// OPTION: "hide_build_panel"
// level to hide the build panel after the build is finished
// Possible values are:
// "always" (hide the panel even if the build failed),
// "no_errors" (only hide the panel if the build was successful even with warnings),
// "no_warnings" (only hide the panel if no warnings occur)
// "no_badboxes" (only hide the panel if no badbox messages occur when badboxes are enabled) and
// "never" (default, never hide the build panel)
"hide_build_panel": "no_badboxes",
// OPTION: "display_bad_boxes"
// controls whether or not to display any bad boxes in the build output
// if this is not set to true, the setting "no_badboxes" for
// "hide_build_panel" is equivalent to "no_warnings"
"display_bad_boxes": false,
// OPTION: "show_error_phantoms"
// (ST3, Build 3118+ only)
// level to show error phantoms in the file
// Possible values are:
// "none" (don't show any phantoms at all)
// "errors" (only show errors, which breaks the compilation)
// "warnings" (default, show errors and warnings)
// "badboxes" (show errors, warnings, and badboxes)
"show_error_phantoms": "warnings",
// number of seconds to display the "build succeeded" or "build failed"
// message
"build_finished_message_length": 2.0,
// ------------------------------------------------------------------
// Viewer settings
// ------------------------------------------------------------------
// OPTION: "viewer"
// Specifies which viewer to use
// Possible values:
//
// "default" or "" the default viewer for your platform, which
// is sumatra on Windows, skim on OS X and
// evince on linux
//
// "command" invokes a viewer based on commands configured
// in viewer settings below; see the README
// for details
//
// "evince" uses Evince; this is the default on linux
//
// "okular" uses Okular to open the pdf
//
// "preview" uses Preview.app to open the pdf
//
// "skim" uses Skim to open the pdf; this is the
// default on OSX
//
// "sumatra" uses SumatraPDF; this is the default on
// Windows
//
// "zathura" uses Zathura to open the pdf
"viewer": "",
// OPTION: "viewer_settings"
// Specify viewer-dependent settings and preferences
// Possible values: see README or documentation provided with
// third-party viewer.
// Viewer settings can be general or OS-dependent
"viewer_settings": {
// Platform-specific settings:
"osx" : {
// See README or third-party documentation
},
"windows" : {
// See README or third-party documentation
},
"linux" : {
// See README or third-party documentation
}
},
// OPTION: "open_pdf_on_build"
// specifies whether LaTeXTools should open the PDF file on a
// successful build. If set to false, the PDF file won't be opened
// unless explicitly launched using C-l,v or C-l,j
"open_pdf_on_build": true,
// OPTION: "disable_focus_hack"
// if set to true, this will stop LaTeXTools from attempting to steal focus
// from the viewer. NOTE: This does not mean that the *viewer* won't steal
// the focus, only that LaTeXTools won't try to steal the focus back.
"disable_focus_hack": false,
// ------------------------------------------------------------------
// Opening files included into the tex source code
// ------------------------------------------------------------------
// image types you use in latex
// these types will be used for autocompletion and
// opening of included images, when no extension is written
"image_types": ["png", "pdf", "jpg", "jpeg", "eps"],
// ------------------------------------------------------------------
// Bibliographic references
// ------------------------------------------------------------------
// OPTION: "bibliography"
// Either a single bibliography plugin to use or a list of plugins
// which will be executed in order, stopping after the first result
// found
//
// Possible values:
//
// "traditional" the default, regex-based bibliography
// parsing
//
// "new" a newer parser which supports more complex
// formatting and additional fields, but may
// be slower
"bibliography": "traditional",
// OPTION: "additional_bibliography_file"
// With this setting you can add the path to one or more additional
// bibliography files. You can either pass a string containing the path
// to the additional bibliography file or an array with several paths.
// The path can either be absolute or relative from the tex root.
// Set it to "" if you don't have an additional bibliography file.
"additional_bibliography_file": "",
// OPTION: "cite_panel_format"
// This preference sets the format of the quick panel to select citations using wildcards.
// The setting is a list with one or two string using wildcards for author, title, keyword etc.
// The traditional display: `["{title} ({keyword})","{author}"]`
// Format:
// Can quantum-mechanical description of physical reality be considered complete? This is an non-existing subtitle to illustrate (einstein1935quantum)
// Albert Einstein and B Podolsky and N Rosen
// Richer alternative: ["{author_short} {year} - {title_short} ({keyword})","{title}"]
// Format:
// Einstein et al. 1935 - Can quantum-mechanical description of physical reality be considered complete (einstein1935quantum)
// Can quantum-mechanical description of physical reality be considered complete? This is an non-existing subtitle to illustrate
// Another alternative: ["({keyword}) {author_short} - {year}","{title} - {journal}"]
// Format:
// (einstein1935quantum) Einstein et al. - 1935
// Can quantum-mechanical description of physical reality be considered complete? - Physical Review
// No-title alternative: ["{author_short} {year} ({keyword})"]
// Format:
// Einstein et al. 1935 (einstein1935quantum)
// Valid wildcards: keyword, title, author, year, author_short, title_short, journal
// Uncomment or modify at will
"cite_panel_format": ["{author_short} {year} - {title_short} ({keyword})","{title}"],
//"cite_panel_format": ["({keyword}) {author_short} - {year}","{title} - {journal}"],
//"cite_panel_format": ["{author_short} {year} ({keyword})"],
// Similarly, the formatting for the autocomplete panel:
"cite_autocomplete_format": "{keyword}: {title}",
// ------------------------------------------------------------------
// Cache options
// ------------------------------------------------------------------
// settings for caches to update on load
// leaving these as `true` will ensure LaTeXTools pre-caches the appropriate
// data when a TeX document is loaded; setting these to `false` will
// cause the cache to be built when first needed
// "cache_on_load": {
// // analysis: the internal view that LaTeXTools has of your document
// "analysis": true,
// // bibliography: ensures the bibliography is parsed and cached
// "bibliography": true
// },
// settings to update caches when a document is saved
// leaving these as `true` will ensure LaTeXTools reloads the data on save,
// if necessary; setting these to `false` will cause the cache to be
// re-built according to its rules
// "cache_on_save": {
// // analysis: the internal view that LaTeXTools has of your document
// "analysis": true,
// // bibliography: ensures the bibliography is parsed and cached
// "bibliography": false
// },
/* The life-span of the local cache.
After this life-span the local cache will automatically be invalidated and refreshed.
You can invalidate the cache manually by removing all temporary files `C-l,backspace`.
If the value is smaller then the functionalities are more up-to-date,
but more recalculations might decrease the performance.
The format is "X d X h X m X s", where X is a natural number
"s" stands for seconds, "m" for minutes, "h" for hours, and "d" for days.
Missing fields will be treated as 0 and white-spaces are optional.
Hence you can write "1 h 30 m" to refresh the cached data every one and a half hours.
If the string is invalid the default value (30 minutes) will be used.
If you use `infinite` the cache will not invalidated automatically.
*/
"local_cache_life_span": "30 m"
}