2022 Developer Survey is open! Take survey.

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
0 votes
2 answers
48 views

Why is my colorscheme showing weird colors?

I recently (few days...) updated Vim on arch (via the package manager), and I've noticed something about colorschemes has changed. However, I don't understand why I should see color changing if I don'...
user avatar
  • 1,572
1 vote
1 answer
56 views

What factors control the color scheme in a terminal?

I am trying to use VIM through new "Windows Terminal" app on a Windows 10 operating system. The VIM app is installed inside a debian WSL app. I can't wrap my head around how the entire color ...
user avatar
0 votes
1 answer
42 views

Disable/change colors in vim terminal (but not in open file)

I'm on Mac Neovim. When I type :term, I am greeted by this: This poses some issues; For example when I run a command, it also colors the output; I don't want this to happen. Is there some way to ...
user avatar
  • 11
0 votes
0 answers
26 views

Syntax coloring only works inside a particular directory

I have no idea what I did but syntax coloring only works when I open files with vim started inside a particular top level path (e.g. /Users/name/Source/git-repository/). If I open the same files when ...
user avatar
  • 103
0 votes
0 answers
13 views

how to change color of 'normal' markdown text only in dark version of colorscheme

I'm trying to do this https://stackoverflow.com/a/61454601/3089106 but for the main text, not for comments. This is primarily for markdown files but changing that color globally would be fine. Unlike ...
user avatar
  • 695
0 votes
1 answer
169 views

Gitsigns color customization

I am customizing the color scheme of the gitsigns column on the left. I managed to change all different symbols using the following: hi DiffAdd hi DiffChange hi DiffDelete hi DiffText I cannot figure ...
user avatar
0 votes
1 answer
39 views

Why I can't apply colorscheme for GUI vim in Windows?

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 2 2021 18:02:30) MS-Windows 32-bit console version Included patches: 1-2824 Compiled by mool@tororo Huge version without GUI. Features included (+) ...
user avatar
0 votes
0 answers
23 views

Vim color is not correct when opened from another script

I have a custom script written to edit my config files using dmenu. This is the script. #!/bin/sh OPTIONS="Vim $HOME/.vim/vimrc" OPTIONS="$OPTIONS\ni3 $XDG_CONFIG_HOME/i3/config" ...
user avatar
0 votes
0 answers
20 views

Unable to set some colorschemes in NeoVim

I have added few colorschemes to my colors folder for NeoVim and they also show up when I press Tab. I can see all the exact themes that are in the colors folder. But, I am only able to use a few ...
user avatar
0 votes
1 answer
194 views

Can't fully remove color scheme's background in nvim

I want to keep my acrylic powershell background while using neovim, which requires blocking my colorscheme's background (currently trying sainnhe/everforest). I've put hi Normal guibg=NONE ctermbg=...
user avatar
1 vote
0 answers
31 views

Inconsistent highlight colors of swap detection line between vim and neovim

I have a question about the highlight group of the warning message Swap file xxx already exists. The following is my .vimrc/init.vim file: colorscheme nord set termguicolors Now I try to open a file ...
user avatar
0 votes
0 answers
64 views

Spell check highlighting in gruvbox disappears on scroll

When I open vim initially misspelled words are highlighted but as soon as I scroll they become unhighlighted. I have gruvbox color scheme. My vimrc looks like this """"""...
user avatar
1 vote
0 answers
194 views

Neovim - blend transparent highlight colors

I am trying to make the NvimTree background a different color than the main neovim window, while retaining transparency set by Alacritty. The desired panel can be made fully transparent with :...
user avatar
1 vote
1 answer
237 views

How to change the color of the vim ruler?

was hoping someone could help me in changing the color of the ruler in vim? Specifically, the opacity as I'm trying to make it match the rest of my vim opacity, but can't seem to pinpoint where ...
user avatar
0 votes
0 answers
54 views

Cursorline became black when cursor is moving

If I change the colorscheme by <option>+12345 :colorscheme newsprint Then when I will firstly got the expected result: But then if I move my cursor by j/k, the clean cursorline gone: I can ...
user avatar
  • 731
0 votes
0 answers
83 views

The text color in Airline status line and tabline changes when I source the vimrc

So my airline status line looks like this when I start vim it looks like this -> https://imgur.com/zwOILU7. And when I source the vimrc it looks like this -> https://imgur.com/JnxeUfS I want it ...
user avatar
0 votes
1 answer
60 views

Trouble with persistence of background setting via vimrc

I have a structure thus: myproject/ .vim/ .vimrc Contents of .vimrc are: let g:usercolour = 0 if g:usercolour == 0 set background=dark colorscheme default endif if g:usercolour == 1 set ...
user avatar
  • 155
0 votes
1 answer
44 views

Using a vim syntax file, I would like some Keywords, such as ??, to be colored

I have been trying to get through the syntax file documentation on vim help, https://vimhelp.org/syntax.txt.html#%3Asyn-files but it's quite the read and I figured someone here may know how to go ...
user avatar
  • 1
0 votes
1 answer
65 views

Vim colorscheme not loading from ~/.vim/colors

I'm trying to load a colorscheme with Vim and the color scheme file is located in ~/.vim/colors as many suggest in various articles. When I try to use :colo sonokai Vim informs me it cannot find it. ...
user avatar
  • 111
0 votes
0 answers
80 views

How to change color of tabbar of neovim

How can I change the color of tabbar background (which is green in below screenshot)
user avatar
  • 101
0 votes
0 answers
35 views

How dose colorscheme file working when python.vim file not exist?

I deleted python.vim in ~./Vim/vim82/syntax directory, and define colorscheme.vim in ~./Vim/vim82/colors directory. The colorscheme.vim contain this code call <sid>hi('pythonNumber', s:...
user avatar
0 votes
0 answers
15 views

vim colorscheme not apply clearly [duplicate]

I apply colorscheme by writing in _vimrc file, but colors are working Partially. I brought source code of colorscheme from code-dark using Plugin Vundle. For explanation, upload the pictures. First ...
user avatar
0 votes
0 answers
55 views

Cursor disappearing

I'm using pywal and the wal colourscheme and since enabling it my cursor seems to have disappeared, meaning it has the same colour as my background (that's what I guess) and I only see it blinking ...
user avatar
  • 101
0 votes
0 answers
123 views

Changing the block cursor color

I have been trying to play around with a few color scheme configurations for the cursor, however nothing I type in the command panel seems to change it. Is the hilight syntax supposed to be completely ...
user avatar
0 votes
1 answer
779 views

Neovim cannot find color scheme 'tokyonight' [closed]

I'm on pop!_os and I'm trying to get Tokyonight to work with Neovim, but I recieve the following error when I start Neovim: Error detected while processing /home/username/.config/nvim/init.vim: line ...
user avatar
  • 11
0 votes
1 answer
231 views

Background color for listchars chars

I use the solution from this question to display tabs with litlle ⸱ characters. It works but they appear on a lighter gray background than the dark gray background I am using. It is quite distracting ...
user avatar
  • 165
1 vote
1 answer
408 views

Check if vim is opened in tty

Normally I'm using the light theme in vim but if I open vim in the tty with the background=light option, than I can't see anything (almost everything is white). So I'd like to set background=dark ...
user avatar
  • 388
0 votes
1 answer
59 views

How to set different color theme for Terminal and GUI?

Since there are themes only work on GUI, so is it possible to make the Terminal to use another theme than GUI one?
user avatar
  • 731
0 votes
2 answers
262 views

base16-vim and base16-shell - Light themes not working

I'm trying to use base16-vim for a light color scheme. I want to use "one-light", but it seems that none of the light schemes work. After starting Vim with a light scheme, :colo reports ...
user avatar
  • 1
1 vote
0 answers
89 views

Vim 8 terminal not properly sourcing vimrc on startup due to t_ut (Windows)

I have just been setting up a colour scheme for vim (namely onedark) and following advice elsewhere on the internet (here). I added the line set t_ut="" to my .vimrc. When I re-source my ....
user avatar
  • 11
0 votes
1 answer
65 views

Default syntax groups use colors >=16 [closed]

I have few quetion about color scheme and terminals... The web is plenty of posts about it but I still does not understand the following: After a fresh install of (g)vim on arch, I did a $ vim ...
user avatar
  • 3
1 vote
0 answers
267 views

Change colour of character under cursor?

I'd like the character under my cursor to always be black in normal mode, so it contrasts with the cursor. I'm using windows terminal, which doesn't support this directly, and vim (not gvim), so guifg ...
user avatar
1 vote
1 answer
71 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("...
user avatar
  • 1,073
1 vote
1 answer
42 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.
user avatar
  • 53
0 votes
1 answer
190 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 ...
user avatar
  • 101
2 votes
0 answers
48 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 ...
user avatar
  • 308
0 votes
0 answers
94 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
387 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 ...
user avatar
1 vote
0 answers
502 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 ...
user avatar
  • 111
3 votes
1 answer
110 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: ...
user avatar
  • 33
3 votes
2 answers
152 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: ...
user avatar
  • 12.6k
1 vote
0 answers
42 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 ...
user avatar
  • 119
1 vote
0 answers
260 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 ...
user avatar
  • 1,572
0 votes
0 answers
10 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 ...
user avatar
  • 173
0 votes
0 answers
428 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 ...
user avatar
  • 187
1 vote
0 answers
141 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 ...
user avatar
-1 votes
1 answer
1k 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 ...
user avatar
  • 3
0 votes
0 answers
40 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 ...
user avatar
1 vote
0 answers
37 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 ...
user avatar
  • 1,572

1
2 3 4 5 6