Questions tagged [colorscheme]

A colorscheme is a Vim script which sets the colors to be used for the highlight groups.

Filter by
Sorted by
Tagged with
1
vote
1answer
24 views

How to match brackets in matchadd command regular expression?

I want to highlight breakpoint() - including brackets as keywords in Python files. I have added these two commands to my .vimrc: highlight link PyBreakpoint Keyword call matchadd("...
1
vote
1answer
35 views

How to change colorschemes only if a specific colorscheme is currently enabled?

I want to check if the colorscheme currently in use in Vim. For example, if I using a colorscheme, switch the colorscheme to b; else, do nothing.
0
votes
1answer
21 views

Gvim loads incorrect colorscheme unless I run the command again

In my ~/.vimrc file, I have my colors set up like this: " Access colors present in 256 colorspace let base16colorspace=256 " Vim colorscheme colorscheme default " Lightline ...
2
votes
0answers
45 views

How to retain terminal colors inside the Vim terminal (-NOT- in GVim)? [duplicate]

My default terminal look: will turn into this in the Vim terminal: It's not a huge deal, but the former is easier on my eyes - and this doesn't happen on my other box... Tried to compare ...
0
votes
0answers
52 views

Eye torturing colors in Vim/GVim terminal

I am using GVim but this happens in terminal Vim too. I use the Gruvbox theme. Whenever I start the terminal using :term, I see too blue colors when I change the directory within the shell. The ...
1
vote
1answer
121 views

Dracula theme not recognized in init.vim

Here is the tutorial I am trying to follow Here is the init.vim file I have written. I just don't understand why I am getting the error Cannot find colorscheme 'dracula' This error is occurring in ...
0
votes
1answer
77 views

Set the color scheme for current window only?

How can I set the color scheme manually for the current window only ? colorscheme affects all windows when I use it. My use case is that I am using neovim and I have a terminal session in one window ...
1
vote
0answers
119 views

how to make vim colorscheme work on big sur terminal?

some say I need to install iTerm because osx terminal only support 16 colors but when I check the terminal.app it use xterm-256 and it support 256 color test some say default osx doesn't support 256 ...
3
votes
1answer
39 views

Vim shows incorrect theme in error

Basically, all I'm trying to do is enable the syntax option. syntax enable colorscheme cobalt2 For some reason, I get no errors if I comment out the first line, but in case I don't comment it, I get: ...
3
votes
2answers
124 views

What exactly do patch 8.2.1693 and patch 8.2.1703 do to syntax highlighting?

It is fairly well known that syntax highlighting in vim breaks when one changes colorschemes frequently. This is due to peculiarities of hi def/hi clear. Recently, the following changes were made: ...
1
vote
0answers
32 views

How to change colour of reference counts next to definitions

I'm using CoC with the elm-language-server, and I've found that for each top level definition, at the end of the line I have an extra annotation printed that gives a reference count and whether it's ...
1
vote
0answers
22 views

How to fix/customise coloring for the autocompletion popup menu?

I'm not really happy with the syntax coloring of the auto-completion menu. Probably the pink-ish background color is the least unpleasant thing, but the grey foreground text is really not as readable ...
0
votes
0answers
8 views

How to get highlight style used for the text under cursor? [duplicate]

There is some text under my cursor that specific highlight is used. I do not know which highlight is that. I can type :highlight and randomly guess which could that be. Is there a method to just place ...
0
votes
0answers
159 views

If background is not transparent in ViM, I see the background color of the terminal, which is different

This problem might be a terminal problem, but maybe some of you managed to solve it. I've been using ViM with the default colorscheme, which has a transparent background, so I see the background color ...
1
vote
0answers
45 views

Vim ignores color 255, as if it doesn't support the 256 ones

Update: it works, if I set the main bg color (white) as ctermbg=231 (it was 015). So it seems that color values in Vim syntax highlight settings shouldn't be mixed: if one uses color codes from the 16 ...
-1
votes
1answer
231 views

Colorscheme displayed wrongly with Neovim

Hello I am new to vim and only used it via plugin in my IDE and now I wanted to change to the consol. I use the build : NVIM v0.5.0-727-gc10c2fab5\ OS: Windows 10 Terminal: Windows Terminal with ...
0
votes
0answers
27 views

colorscheme murphy interferes with statusline

I do not know if its my term colors or something, but one of my colorschemes (murphy) makes the statusline unreadable I do not wnat the problem is. Here's my vimrc: "source $HOME/cscope_maps.vim ...
1
vote
0answers
33 views

When re-sourcing vimrc, the highlight commands following the colorscheme choice are lost [duplicate]

Given this ~/.vimrc syntax on colo pablo set cul hi CursorLine cterm=bold ctermbg=NONE ctermfg=NONE gui=bold guibg=NONE guifg=NONE hi String ctermfg=red Do the following: open a file, possibly ...
2
votes
1answer
43 views

Embark colorscheme not working properly

I have installed embark using vim-plug. I have put it inside my vimrc. But everytime I open vim, it shows this error Error detected while processing /home/pial/.vim/vimrc: line 9: E185: Cannot find ...
2
votes
1answer
163 views

Suddenly running :colorscheme breaks lightline

Suddenly, after a Vim update, I guess, when I run :colo some_color_scheme, the coloring of my lightline status bar is black and white, as you can see in the following screencast: Since I version my ...
3
votes
1answer
103 views

Are opening and closing double quotes expected to be of different color in a bash script?

I've just noticed, after years using Vim, that the two double quote characters opening and closing a string in a bash script have different colors, which I can verify by simply writing var="var&...
1
vote
0answers
88 views

Wrong background color

I installed the iceberg colorscheme in Vim. It doesn't show the correct background color when running vim on urxvt terminals. I tried with different terminals. Here is a result of what I got. Top left ...
1
vote
1answer
441 views

Changing colour of pop-up coc.nvim lint warning in custom colourscheme

I'm using the colorscheme monokai and coc.nvim with pylint to lint Python code in Vim (terminal, not GUI, in terminal.app on macOS which I'm pretty sure has 256 colours). The linting pops up on a ...
1
vote
1answer
58 views

Color themes listed as available in Vim not changing upon :colo [themename] command

I am trying to install themes using V8+ Vim (8.2) on a Windows 10 OS. I first tried following the standard instructions listed on the Dracula theme site here. Unfortunately, the naming conventions for ...
1
vote
1answer
33 views

Vim watch file for changes

Is there a way I can have vim watch something like /tmp/my-vim for changes whenever vim is opened to edit any other file and then run a function when the change occurs? I am looking for a way to tie ...
1
vote
0answers
39 views

syntax highlight group for command line on normal mode?

I'm trying to write my own color scheme. I use :so $VIMRUNTIME/syntax/hitest.vim to identify vim's syntax names. Mostly this is working great, but I can't find the identifier for the command line in ...
0
votes
0answers
116 views

termguicolors vs :terminal: incorrect colors being displayed

I'm having trouble with the colors of the the terminal windown opened by :terminal. I use a theme called PolarIce from themer.dev. This work perfectly on KiTTY, Gnome Terminal and pretty much any ...
0
votes
0answers
22 views

Syntax profile close to dosini but with extra highlighting between quotes

Unfortunately I've to work with a custom and weird file format every day. To make my life in Vim easier, I've tried several syntax settings and 'dosini' comes very close. However, the text in between ...
2
votes
2answers
724 views

Why does peachpuff colorscheme looks completely different in terminal and GUI (MacVim)?

I've installed MacVim using Brew: brew cask install neovim I'm using the macOS's Terminal.app to run MacVim in Terminal mode. I've experimented with :colorscheme peachpuff, since many recommends that ...
0
votes
0answers
162 views

Nvim black border issue

I am using nvim and color theme grubox and also I add the settings of my color theme. at my vim editor has some black border at around left, right, top and bottom. Anyone can help me to remove this ...
0
votes
1answer
38 views

How to change this particular “deep blue” color that displays?

I'd like to change the color of a certain character set displayed in my terminal. I'm not sure if it's related to the terminal itself (xfce terminal) or to the colorscheme (distilled.vim) so I'm not ...
1
vote
2answers
49 views

welcome message hidden by “exe” in timer function

My vimrc holds a script to change the color of the CursorLineNr conditionally based on the mode. My problem is that it hides vim's welcome message when it's launched without a file. I would like to ...
1
vote
0answers
64 views

vim cant source rgb.txt

I am trying to source rgb.txt or hex.txt, so that I can use color by name instead of hex value in my color scheme. In my ~/.vim/plugged/vim-coogle/colors, I have tree vim-coogle/ vim-coogle/ └── ...
0
votes
2answers
218 views

vim colorscheme color as variable

I have a vim colorscheme vim-coogle, which uses both hex value and named colors already defined in vim, like: hi Comment guifg=#FFF59D ctermfg=lightgrey Now, the problem is, I want do define my own ...
2
votes
1answer
86 views

:terminal colorscheme inside Vim is different from either Vim or Host Terminal

I have a gruvbox theme applied to Vim inside my vimrc. The problem is that when I run the :terminal command inside Vim the colorscheme is different from either the Vim theme or the terminal emulator's ...
2
votes
2answers
473 views

How to change background color for markdowns fenced code blocks?

I can do this for markdown's tab-based code blocks with mkdCode color group. So my question is if it's possible to do the same for fenced once? I use plasticboy/vim-markdown plugin. Here's a minimal ...
2
votes
0answers
57 views

how to have two different colour schemes for command mode and edit mode in vim?

I have been using vim for some time now but I am always unsure of which mode I am currently in and hence end up pressing Esc too often even in the command mode. This causes an irritating computer ...
3
votes
1answer
33 views

Can't see tag “<>” braces due to highlight color same as braces in Windows terminal

I'm new to Vim and am having an issue with highlight color of matching braces in Vim. if I type: <html> and my cursor is at the one of the <> greater/less-than brace then I can't see the ...
0
votes
0answers
26 views

script colors to solarized

using macOS, I've colored the Terminal app by importing the Solarized theme but the scripts I write inside the terminal are not displayed in the Solarized theme. :colorscheme="default" While ...
1
vote
2answers
39 views

Defining a color to be the same color of comments

I'm using the indentLine plugin to display line indents with a continuos vertical line, and I'd like to set the color of that line to the same color of my comments. To get the foreground color of my ...
1
vote
1answer
53 views

Possible to toggle between two different colorschemes in vim

I have noticed that some files look better than others with different colorschemes. Is there a way to toggle between two different colorschemes, for example: colorscheme TextMate "OceanicNext :nmap &...
0
votes
1answer
170 views

Set color of Comment only using .vimrc

I am using some preset colorthemes, but it seems that the types Identifier and Comment always use the same color -- which makes my .asm files basically just one color. I tried to change the color of ...
4
votes
2answers
704 views

How can I change the colorscheme of the vim terminal buffer?

I use GVim with the gruvbox colorscheme. When I open a terminal inside vim with :term, the colors are different, it looks like another colorscheme is applied. The other terminals I use (urxvt and ...
1
vote
2answers
262 views

Is it possible to match vim and gvim colorschemes?

This was a nice little article that somewhat demystified vim colors to me. I downloaded and installed the Base2Tone vim colorschemes, and set the following in my ~/.vimrc: colorscheme ...
2
votes
0answers
147 views

Is there a way to get improved MySQL syntax highlighting over what vim offers out of the box?

Having spent a bit of time sorting out my colorscheme for my php files, I'd now like to "prettify" my sql. (I blame lockdown). My sql is spread liberally through my php files, but I've noticed the ...
1
vote
1answer
131 views

How to change the background colour of jedi-vim sugestion box in the jellybeans theme?

I am trying the jellybeans theme. colorscheme jellybeans The issue is that the jedi vim auto completion tips for functions appear with white text on white background: Here is how they appear when ...
3
votes
1answer
339 views

How to use 16 color colorscheme in tty?

I'm trying to use 16 color colorscheme in vim8.2 1-677 in my ubuntu18.04 /dev/tty3(ctrl-alt-f3). This is what I have done so far: Change tty color in my bashrc: if [[ "$TERM" = linux ]]; then ...
4
votes
1answer
142 views

How to customize colorschemes without editing their source files?

Similarly to plug-ins, color schemes are commonly distributed as clone-able Git repositories, which make it less desirable to directly edit their source files (as sometimes suggested) when wanting to ...
1
vote
1answer
64 views

Can I apply individual colours from one highlight in another one?

I have an auto command that changes some color scheme values so I can avoid forking them when all I need is small changes: augroup FixColorSchemes autocmd! autocmd ColorScheme * \ ...
2
votes
1answer
50 views

How can I change the syntax highlighting for currently highlighted search item?

When I search for something with / I get a series of finds, and as I press n for next, it highlights the next one. I always think I'm on the wrong one. Maybe my eyes see green and red, and they think ...

1
2 3 4 5