jceb / vim-orgmode

Text outlining and task management for Vim based on Emacs' Org-Mode
http://www.vim.org/scripts/script.php?script_id=3642
Other
3.12k stars 267 forks source link

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

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

tbm commented 4 years ago

@FlorianMickler does your PR #314 fix this by any chance?