Permalink
Browse files

fix for todo highlights not showing up unless 'ReprocessConfigLines' …

…executed
  • Loading branch information...
1 parent 56477ec commit 68527d21306968eeddbec0d83f184c31490d45be @hsitz committed Dec 12, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 ftplugin/org.vim
  2. +2 −2 syntax/org.vim
View
@@ -8360,6 +8360,7 @@ amenu <silent> &Org.R&e-read\ Config\ Lines :call OrgProcessConfigLines()<cr>
"*********************************************************************
"*********************************************************************
endif
+
let g:org_loaded=1
let b:v.org_loaded=1
"*********************************************************************
View
@@ -50,8 +50,8 @@ syntax match Org_Config_Line '^#+.*' containedin=Org_Block,Org_Src_Block
syntax region Org_Block start='\c^#+begin.*$' end='\c^#+end.*' keepend contains=Org_Config_Line,Org_Table
syntax region Org_Src_Block start='\c^#+begin_src.*$' end='\c^#+end.*' keepend contains=Org_Config_Line
-"exec "syntax match DONETODO '" . b:v.todoDoneMatch . "' contained"
-"exec "syntax match NOTDONETODO '" . b:v.todoNotDoneMatch . "' contained"
+exec "syntax match DONETODO '" . b:v.todoDoneMatch[1:] . "' containedin=OL1,OL2,OL3,OL4,OL5,OL6"
+exec "syntax match NOTDONETODO '" . b:v.todoNotDoneMatch[1:] . "' containedin=OL1,OL2,OL3,OL4,OL5,OL6"
syntax match OL1 +^\(*\)\{1}\s.*+
syntax match OL2 +^\(*\)\{2}\s.*+
syntax match OL3 +^\(*\)\{3}\s.*+

0 comments on commit 68527d2

Please sign in to comment.