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
76 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 ...
0
votes
0answers
37 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 ...
0
votes
0answers
27 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 ...
0
votes
1answer
45 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 ...
0
votes
1answer
29 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 ...
0
votes
1answer
41 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. ...
0
votes
0answers
39 views

How to change color of tabbar of neovim

How can I change the color of tabbar background (which is green in below screenshot)
0
votes
0answers
29 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:...
0
votes
0answers
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 ...
0
votes
0answers
37 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 ...
0
votes
0answers
35 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 ...
0
votes
1answer
215 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 ...
0
votes
1answer
103 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 ...
0
votes
1answer
164 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 ...
0
votes
1answer
36 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?
0
votes
2answers
151 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 ...
1
vote
0answers
47 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 ....
0
votes
1answer
47 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 ...
1
vote
0answers
92 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 ...
1
vote
1answer
38 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
40 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
100 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
47 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
66 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
694 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
208 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
390 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
87 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
143 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
36 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
114 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
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 ...
0
votes
0answers
329 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
98 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
777 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
34 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
36 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
72 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
284 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
226 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
110 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 ...
2
votes
1answer
1k 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
131 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
73 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
45 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
275 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
34 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
1k 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
454 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
77 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
2 3 4 5