Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tune Vim Perl 6 syntax highlighting to de-emphasize sigils?

I'm using vim-perl6 for syntax highlighting, but I'd like to adjust the color of variable sigils so that they are less standout. Perhaps, make them look pale or something. How do I do that? Thanks.

like image 584
cowbaymoo Avatar asked Jun 02 '18 16:06

cowbaymoo


People also ask

How do I change the Colorscheme in vim?

You can change color schemes at anytime in vi by typing colorscheme followed by a space and the name of the color scheme. For more color schemes, you can browse this library on the vim website. You can enable or disable colors by simply typing "syntax on" or "syntax off" in vi.

How do I set default syntax in vim?

Add the text, “syntax on” anywhere in the file to enable syntax highlighting permanently for vim editor. Save and close the file by typing ':x'. For disabling the feature, just re-open . vimrc file, change the text “syntax on” to “syntax off” and save the file.


1 Answers

  1. Comment out the line: HiLink p6Variable Identifier in perl6.vim
  2. Modify the colorscheme file I use (in my case, on MacOS, I copied it from /usr/share/vim/vim80/colors/ to ~/.vimrc/colors/), and add to it:
    • hi p6Variable ctermfg=darkgrey
    • hi p6Variable guifg=darkgrey
like image 53
cowbaymoo Avatar answered Oct 18 '22 08:10

cowbaymoo