dhruvasagar / vim-dotoo

Org-mode like task logging & time tracking in Vim
554 stars 27 forks source link

Syntax highlighting goesn't highlight second keyword on planning line #80

Open tbm opened 4 years ago

tbm commented 4 years ago

With a file like:

* TODO Test
SCHEDULED: <2020-07-09 Thu 16:00> DEADLINE: <2020-07-09 Thu 21:00>

SCHEDULED is highlighted but DEADLINE is not. If I put DEADLINE on a separate line, it gets highlighted.

But my reading of the Org spec is that they have to be on the same line:

https://orgmode.org/worg/dev/org-syntax.html#Clock,_Diary_Sexp_and_Planning

where HEADLINE is a headline element and PLANNING is a line filled with INFO parts, where each of them follows the pattern:

KEYWORD: TIMESTAMP

Note the: "a line filled with INFO parts".

dhruvasagar commented 4 years ago

@tbm Thanks a lot for raising these issues, it helps a lot. I just want to let you know I am going to work on these. I have been rewriting the document parser because it badly needs it and I shall try to incorporate all of these issues raised by you while I am at it. Will be linking to these issues to keep you updated.

tbm commented 4 years ago

Thanks, that's good to hear. I'm currently trying to decide between vim-orgmode and vim-dotoo. I can probably file more issues if you want more feedback.

dhruvasagar commented 4 years ago

@tbm To be honest for more complete org compatibility, vim-orgmode is likely going to be better. But I would love your feedback so I can improve this plugin. My goal is to have orgmode compatible system but with vim's philosophy in mind and obviously stick to pure vimscript.