File tree 3 files changed +37
-2
lines changed
3 files changed +37
-2
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,21 @@ to be **parent** and the second to be **child**.
52
52
```
53
53
54
54
###### Rules:
55
- * Changing state of the parent item changes the state of all children items accorndantly
55
+ * Changing state of the parent item changes the state of all children items accordantly
56
56
* If all children items are marked done, parent will also be marked as done
57
57
* If parent is marked as done and one of the children changes state to not done
58
58
parent will also be marked as not done
59
59
60
+ ##### Items Highlighting
61
+
62
+ Items are highlighted in accordance to the following scheme:
63
+
64
+ ```
65
+ [ ] ! Important item (Underlined)
66
+ [ ] Normal item (Normal)
67
+ [X] Done item (Comment)
68
+ ```
69
+
60
70
##### Commands
61
71
62
72
* ` :VimTodoListsCreateNewItemAbove ` - creates a new item in a line above cursor
@@ -145,11 +155,14 @@ Changelog
145
155
* Improves work with indentations of list items
146
156
* Fixed the error when trying to navigate the buffer that doesn't contain items
147
157
148
-
149
158
#### 0.4.0
150
159
151
160
* Added items hierarchy support
152
161
162
+ #### 0.5.0
163
+
164
+ * Added items highlighting
165
+
153
166
Credits
154
167
-------
155
168
Original file line number Diff line number Diff line change
1
+ " Syntax commands ordering is important due to order of the matching
2
+ syntax match vimTodoListsDone ' ^\s *\[ X\] .*'
3
+ syntax match vimTodoListsNormal ' ^\s *\[ \]\s *.*'
4
+ syntax match vimTodoListsImportant ' ^\s *\[ \]\s *!.*'
5
+
6
+ highlight link vimTodoListsDone Comment
7
+ highlight link vimTodoListsNormal Normal
8
+ highlight link vimTodoListsImportant Underlined
Original file line number Diff line number Diff line change @@ -78,6 +78,16 @@ Rules:
78
78
* If parent is marked as done and one of the children changes state to not done
79
79
parent will also be marked as not done
80
80
81
+
82
+ Items Highlighting
83
+ ------------------
84
+
85
+ Items are highlighted in accordance to the following scheme:
86
+
87
+ [ ] ! Important item (Underlined)
88
+ [ ] Normal item (Normal)
89
+ [X] Done item (Comment)
90
+
81
91
Commands
82
92
--------
83
93
*:VimTodoListsCreateNewItemAbove* *:VimTodoListsCreateNewItemBelow*
@@ -182,6 +192,10 @@ SOFTWARE.
182
192
183
193
* Added items hierarchy support
184
194
195
+ 0.5.0
196
+
197
+ * Added items highlighting
198
+
185
199
==============================================================================
186
200
8. Credits *VimTodoListsCredits*
187
201
You can’t perform that action at this time.
0 commit comments