gvim -Nu NONE:syntax on:set ft=rc:hi normal guibg=darkgreen -- imagine we have a colorscheme that uses darkgreen as a background.iSTYLE (or open vim.rc from vim project)STYLE is invisible.
There actually a set of colors in syntax/rc.vim that will not work OK for some/many colorschemes:
" Default color overrides
hi def rcLanguage› term=reverse ctermbg=Red ctermfg=Yellow guibg=Red guifg=Yellow
hi def rcMainObject› term=underline ctermfg=Blue guifg=Blue
hi def rcSubObject› ctermfg=Green guifg=Green
hi def rcCaptionParam› term=underline ctermfg=DarkGreen guifg=Green
hi def rcParam› ctermfg=DarkGreen guifg=DarkGreen
hi def rcStatement› ctermfg=DarkGreen guifg=DarkGreen
hi def rcCommonAttribute› ctermfg=Brown guifg=Brown
8.2.4103
win10, Gvim
No response
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
Found it out with my colorscheme where for example rcSubObject is barely visible:
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
I think it's a bad idea for a syntax file to define colors. This is very likely to collide with anyone not using standard colors.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
Closed #9542 via chrisbra/vim-rc-syntax@af90572.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
Please check, if my changes make at least some sense 🤔
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@chrisbra yep, much better.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()