0

I want syntax off but I want to pick a different text color. Do I have to find the relevant setting in my color scheme? Or is there something I can just put in .vimrc?

set termguicolors
colorscheme gruvbox
let g:gruvbox_contrast_dark = 'hard'

syntax on
highlight Normal guifg=#ff6000
4
  • 1
    You could try the Normal highlight group
    – D. Ben Knoble
    Jul 13 at 17:32
  • @D.BenKnoble that works, but only if I manually source my .vimrc each time I open vim... thoughts? Jul 13 at 19:10
  • 1
    How are you modifying it? I would probably use an autocommand on the ColorScheme event (defined before running :colorscheme obviously)
    – D. Ben Knoble
    Jul 13 at 20:56
  • Modified answer with relevant lines! Jul 13 at 23:38

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.