I searched this issue on the web to no avail and it's most likely not here too. The issue I'm facing goes like this
I am trying to switch to vim since I find it cool. I was writing my vimrc and figured that I had to set t_C0 to 256 to display colors properly in my terminal(I'm on Windows). After sometime I discovered that I can highlight the current line the cursor is on and set it. it worked well and the syntax highlights on that line were showing just fine. When I set termguicolors it worked like a charm except for one thing, it broke the syntax highlighting of the current line the cursor is highlighting, the highlighted line displays the text with a fully white foreground color. I fired up gVim to check if the issue occurs there too and it works as intended there(syntax highlighting shows properly on the current line). I would like to know if there is anything I could I do to fix this problem. I am attaching the images and my vimrc down below.
How it looks with t_Co set to 256 and without termguicolors enabled
How it looks with termguicolors enabled
Please look at how the highlighted line is displayed
Click here to view my vimrc
Cheers!

