Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brackets not always colorized #30

Open
Kachyz opened this issue May 21, 2020 · 1 comment
Open

Brackets not always colorized #30

Kachyz opened this issue May 21, 2020 · 1 comment

Comments

@Kachyz
Copy link

Kachyz commented May 21, 2020

When open vim bracket are white like this
image

But if I run next commands those change to orange

:colorscheme xcodedark
:colorscheme night-owl

image

Any idea why is this happening?

I checked the VSCode theme and those are orange


This is my configuration

syntax enable
colorscheme night-owl

if (has("termguicolors"))
set termguicolors
endif

" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1

" To enable the lightline theme
let g:lightline = { 'colorscheme': 'nightowl' }

@pbnj
Copy link
Contributor

pbnj commented Dec 22, 2020

Have you tried to play around with ordering?

Some (neo)vim settings have side-effects.

For example, if you hypothetically want to use default colorscheme on light background, this would not work:

set background=light
colorscheme default
set background? " returns dark

where as this would work:

colorscheme default
set background=light
set background? " returns light

I would group all color/appearance-related settings into one section (e.g. termguicolors, highlights, ...etc) and set the colorscheme as the last thing in that section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants