Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7166189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:22:24+00:00 2026-05-28T14:22:24+00:00

I was wondering whether it’s possible to change the rubyLocalVariableOrMethod color in a mytheme.vim

  • 0

I was wondering whether it’s possible to change the rubyLocalVariableOrMethod color in a mytheme.vim color scheme file.

I am currently extending the ir_black theme which I really like, and want to overwrite just a few a colors for certain keywords.

This is my current color scheme that extends from ir_black.

runtime colors/ir_black.vim

let g:colors_name = "mytheme"

hi rubyDefine ctermfg=darkblue
hi rubyFunction ctermfg=lightblue
hi rubyConstant ctermfg=lightblue
hi rubyString ctermfg=green
hi rubyInteger ctermfg=red
hi rubyFloat ctermfg=red
hi rubyLocalVariableOrMethod ctermfg=white

Everything works as expected except for hi rubyLocalVariableOrMethod ctermfg=white. The color remains something that looks like gray. I thought perhaps ir_black was setting a certain value that my rubyLocalVariableOrMethod could not overwrite, but I failed to find anything.

Perhaps someone more experienced in VIM could help me out with this.

This is the link to the ir_black I’m using:
https://github.com/wgibbs/vim-irblack/blob/master/colors/ir_black.vim

This is the ruby syntax file I am using:
https://github.com/vim-ruby/vim-ruby/blob/master/syntax/ruby.vim

Any help figuring out why I’m failing to overwrite the gray-looking color would be much appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T14:22:24+00:00Added an answer on May 28, 2026 at 2:22 pm

    Turns out my Terminal (iTerm2)’s Foreground property wasn’t set to “full white”. Didn’t expect that to have any influence, but good to know in case anyone else runs in to this gotcha.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

just wondering whether it's possible to change the screen timeout using code in Android
I was wondering whether it would be possible to change the sqlConnectionString used for
I am wondering whether it is possible to change the action of a Facebook
I'm wondering whether it's possible to create a subclass of a message declaration (file
I was wondering whether breaking up a word with a span tag to change
I am wondering whether or not it is possible to output the class name
I've been wondering whether it is possible or not to pass a function as
I'm just wondering whether it's possible to create an attribute called alias using FactoryGirl,
Just wondering whether it is possible to convert highly normalized data into binary and
Question mark I'm wondering whether it's possible for the VM guest machine to pop

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.