You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package provides support for working with [klog time tracking](https://klog.jotaen.net) files in the Sublime Text editor:
3
+
This package provides support for working with [klog time tracking](https://klog.jotaen.net) files in the Sublime Text editor.
4
+
5
+

4
6
5
7
- Syntax highlighting
6
-
+ If you use the Mariana or Monokai theme, it also assigns meaningful colouring.
7
8
- Smart completion for inserting the current date or time. For example:
8
9
+ Typing `today` completes to the current date
9
10
+ Typing `now` completes to the current time
10
11
- A few sensible default settings for the `.klg` file format
11
12
12
-

13
+
## Configuration
14
+
15
+
### Colour overrides
16
+
17
+
The pre-defined syntax highlighting should look meaningful in most available colour schemes.
18
+
19
+
For klog-specific customisations, you can specify the following colour overrides:
20
+
21
+
-`markup.other.date.klog` For the date, e.g. `2022-03-15`
22
+
-`markup.other.should_total.klog` For the should total, e.g. `(8h!)`
23
+
-`markup.other.summary.klog` For summary text
24
+
-`markup.other.summary.tag.klog` For tags inside summaries, e.g. `#work`
25
+
-`markup.other.duration_positive.klog` For positive durations, e.g. `5h25m`
26
+
-`markup.other.duration_negative.klog` For negative durations, e.g. `-15m`
27
+
-`markup.other.range.klog` For ranges, e.g. `8:00 - 9:20`
28
+
-`markup.other.open_range.klog` For open ranges, e.g. `14:30 - ?`
29
+
30
+
You can achieve this by adding entries ([see Sublime docs](https://www.sublimetext.com/docs/color_schemes.html)) to the `rules` list of your scheme’s customisation file:
0 commit comments