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
0answers
17 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
27 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
27 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
27 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
65 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
63 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
94 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
29 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
95 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
42 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
37 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
31 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
61 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
61 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
456 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
166 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
318 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
63 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
135 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
35 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
72 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
279 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
76 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
600 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
31 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
35 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
58 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
251 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
176 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
107 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
954 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
106 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
55 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
42 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
227 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
30 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
335 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
70 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
60 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
92 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
365 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
119 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 ...
3
votes
2answers
842 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
67 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 ...

1
2 3 4 5