dhruvasagar / vim-dotoo

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

Colorscheme dependent Syntax error #43

Open lgalke opened 7 years ago

lgalke commented 7 years ago

Dear @dhruvasagar,

First of all: I really enjoy your plugin for the beauty of handling todo notes in vim (without trying to copy the org mode). However, as I cleaned up my vim setup due to recent Vim8 release and started once again with @tpope 's vividchalk as a colorscheme. I noticed the following Error lines upon loading a .dotoo file:

Error detected while processing function <SNR>85_ReadTodoKeywords[18]..<SNR>85_ExtendHighlightingGroup:                                                                   
line    6:                                                                                                                                                                
E416: missing equal sign: links to MoreMsg  ctermfg=22 guifg=#005f00 term=bold cterm=bold gui=bold                                                                        
E416: missing equal sign: links to MoreMsg  ctermfg=22 guifg=#005f00 term=bold cterm=bold gui=bold 

Apart from these lines, everything works as expected. Loading the same dotoo file with any other color scheme, does not invoke those errors.

Presumably relevant line in vividchalk.vim:

125 highlight MoreMsg       guifg=#00AA00 ctermfg=Green
[...]
128 highlight Question      none                                                                                                                                         
129 high link Question      MoreMsg

It would be great to see a fix, probably just a small issue of the ExtendHighlightGroup function?

Thanks in advance, lgalke

dhruvasagar commented 7 years ago

Thanks for reporting this, i'll have a look.

PauloPhagula commented 5 years ago

Hi,

as stated above I also get this issue, though I'm not using vivid chalk, as seen bellow.

screen shot 2019-02-04 at 19 12 17
dhruvasagar commented 5 years ago

This happens when you open the dotoo file ?

dhruvasagar commented 5 years ago

What colorscheme are you using @dareenzo

PauloPhagula commented 5 years ago

Yes this happens when I open dotoo and org files. I made org files be dotoo with autocmd

autocmd vimrc BufEnter,BufNewFile,BufRead *.org setlocal filetype=dotoo

I'm using the snow theme - https://github.com/nightsense/snow

PauloPhagula commented 5 years ago

when using themes like NeoSolarized or Tomorrow-Night those errors don't happen

dhruvasagar commented 5 years ago

Yes, I am using dhruvasagar/vim-railscasts-theme and it doesn't happen for me either, let me check it out this week