Basically, the issue is fairly simple to reproduce (cmd.exe, windows): 1. `vim -Nu NONE` 2. `set tgc` 3. `set cursorline` 4. `set ft=vim` 5. `syntax on` 6. `iecho "hello world"`
^^^^ we can see syntax under cursorline 7. ` colo industry` ^^^ no syntax highlighting And it boils down to whether colorscheme did define `Normal` group or not. For example, if you remove `:hi Normal` from `industry` -- it will "fix" the cursorline issue. @chrisbra, I remember we were discussing it on vi.se in comments, but couldn't find it. понедельник, 24 января 2022 г. в 12:22:43 UTC+3, Maxim Kim: > > https://vi.stackexchange.com/questions/31881/how-do-i-make-sure-terminal-vim-has-syntax-highlighting-with-cursorline-and-t > > > > понедельник, 24 января 2022 г. в 12:13:10 UTC+3, Maxim Kim: > >> It is a "known" issue with windows cmd and 'termguicolors'. >> >> >> понедельник, 24 января 2022 г. в 11:55:56 UTC+3, Christian Brabandt: >> >>> that sounds more like a problem with your colorscheme >>> >>> — >>> Reply to this email directly, view it on GitHub >>> <https://github.com/vim/vim/issues/9617#issuecomment-1019859913>. >>> Triage notifications on the go with GitHub Mobile for iOS >>> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> >>> >>> or Android >>> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. >>> >>> >>> >>> You are receiving this because you are subscribed to this thread.Message >>> ID: <vim/vim/issues/9617/[email protected]> >>> >> -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/8980587d-c87f-4359-a163-6d13764896b3n%40googlegroups.com.
