Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tbm opened this issue Jul 10, 2020 · 3 comments
Open

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

tbm opened this issue Jul 10, 2020 · 3 comments

Comments

@tbm
Copy link

tbm commented Jul 10, 2020

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
Copy link
Owner

@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
Copy link
Author

tbm commented Jul 10, 2020

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
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants