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

solarized colorscheme doesn't load in neovim 0.10.0, works in 0.9.5 #28791

Closed
vmchale opened this issue May 16, 2024 · 6 comments
Closed

solarized colorscheme doesn't load in neovim 0.10.0, works in 0.9.5 #28791

vmchale opened this issue May 16, 2024 · 6 comments
Labels
bug issues reporting wrong behavior needs:repro We need minimal steps to reproduce the issue

Comments

@vmchale
Copy link

vmchale commented May 16, 2024

Problem

I have the following in my init.lua:

vim.cmd [[
colorscheme solarized
]]

After the plugin is loaded: https://github.com/altercation/vim-colors-solarized

Steps to reproduce

Open nvim version 0.10.0; colorscheme is not loaded and has blue.

Expected behavior

I should open nvim 0.10.0 and see the solarized colorscheme being used, like nvim 0.9.5 or vim.

Neovim version (nvim -v)

NVIM v0.9.5 Build type: Release LuaJIT 2.1.1692716794 system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/share/nvim"

Vim (not Nvim) behaves the same?

Vim 9.0.639 works correctly, as does

Operating system/version

MacOS 14.5

Terminal name/version

Iterm 2

$TERM environment variable

xterm-256color

Installation

Github tarball

@vmchale vmchale added the bug issues reporting wrong behavior label May 16, 2024
@clason
Copy link
Member

clason commented May 16, 2024

please provide a reproducible example with nvim --clean -u test.lua.

@clason clason added the needs:repro We need minimal steps to reproduce the issue label May 16, 2024
@wookayin
Copy link
Member

See #26378.

@justinmk
Copy link
Member

See #26378.

Yes. https://github.com/altercation/vim-colors-solarized likely needs a small adjustment. But it hasn't been updated for 13 years.

@justinmk justinmk closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
@MonkeysAreEvil
Copy link

FYI NeoSolarized works for me in v0.10.0. In tmux I did have to add

set-option -g default-terminal "tmux-256color"
set -as terminal-features ",*:RGB"

I think screen-256color would also work.

@vmchale

This comment was marked as resolved.

@candidtim
Copy link

candidtim commented May 21, 2024

If this is of any help, I have found the "solarized8" plugin to be a suitable replacement (for some reason NeoSolarized didn't work as expected, all colors are too bright; I might have spent more time fixing my configuration, but "solarized8" worked out of the box): https://github.com/lifepillar/vim-solarized8/tree/neovim . Make sure to use the neovim branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior needs:repro We need minimal steps to reproduce the issue
Projects
None yet
Development

No branches or pull requests

6 participants