File tree Expand file tree Collapse file tree 3 files changed +37
-2
lines changed Expand file tree Collapse file tree 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**.
5252```
5353
5454###### 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
5656* If all children items are marked done, parent will also be marked as done
5757* If parent is marked as done and one of the children changes state to not done
5858 parent will also be marked as not done
5959
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+
6070##### Commands
6171
6272* ` :VimTodoListsCreateNewItemAbove ` - creates a new item in a line above cursor
@@ -145,11 +155,14 @@ Changelog
145155* Improves work with indentations of list items
146156* Fixed the error when trying to navigate the buffer that doesn't contain items
147157
148-
149158#### 0.4.0
150159
151160* Added items hierarchy support
152161
162+ #### 0.5.0
163+
164+ * Added items highlighting
165+
153166Credits
154167-------
155168
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:
7878* If parent is marked as done and one of the children changes state to not done
7979 parent will also be marked as not done
8080
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+
8191Commands
8292--------
8393 *:VimTodoListsCreateNewItemAbove* *:VimTodoListsCreateNewItemBelow*
@@ -182,6 +192,10 @@ SOFTWARE.
182192
183193* Added items hierarchy support
184194
195+ 0.5.0
196+
197+ * Added items highlighting
198+
185199==============================================================================
1862008. Credits *VimTodoListsCredits*
187201
You can’t perform that action at this time.
0 commit comments