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

Colorscheme dependent Syntax error #43

Open
lgalke opened this issue Dec 13, 2016 · 7 comments
Open

Colorscheme dependent Syntax error #43

lgalke opened this issue Dec 13, 2016 · 7 comments

Comments

@lgalke
Copy link

lgalke commented Dec 13, 2016

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

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

@PauloPhagula
Copy link

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

This happens when you open the dotoo file ?

@dhruvasagar
Copy link
Owner

What colorscheme are you using @dareenzo

@PauloPhagula
Copy link

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

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

@dhruvasagar
Copy link
Owner

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

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

3 participants