mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 06:43:06 +02:00
vwtask: Add R and W task marks
This commit is contained in:
parent
eea316ada4
commit
72adb2d258
1 changed files with 10 additions and 0 deletions
|
@ -281,6 +281,16 @@ class VimwikiTask(object):
|
||||||
elif mark == 'D':
|
elif mark == 'D':
|
||||||
mark = ' '
|
mark = ' '
|
||||||
|
|
||||||
|
if self.task.recurring:
|
||||||
|
mark = 'R'
|
||||||
|
elif mark == 'R':
|
||||||
|
mark = ' '
|
||||||
|
|
||||||
|
if self.task.waiting:
|
||||||
|
mark = 'W'
|
||||||
|
elif mark == 'W':
|
||||||
|
mark = ' '
|
||||||
|
|
||||||
return mark
|
return mark
|
||||||
|
|
||||||
def update_from_task(self):
|
def update_from_task(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue