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

weird color in SpellBad #122

Open
jtmr05 opened this issue Mar 4, 2024 · 1 comment
Open

weird color in SpellBad #122

jtmr05 opened this issue Mar 4, 2024 · 1 comment

Comments

@jtmr05
Copy link

jtmr05 commented Mar 4, 2024

Warning: I will close the issue without the minimal vimrc and the reproduce ways.

Problems summary

The color for SpellBad looks... weird. I'm not entirely sure if it was any recent commit or if it is some other plugin that's interfering with the colorscheme. Here's a screenshot:

2024-03-04_00-34

I expected to see something darker, closer to red. Here it looks half-readable; in code diagnostics it looks far worse.

Environment Information

  • terminal: Alacritty
  • vim version: 9.1

Provide a minimal vim rc with less than 50 lines (Required!)

" Your minimal init.vim
set nocompatible

set runtimepath^=$XDG_CONFIG_HOME/vim
set runtimepath+=$XDG_DATA_HOME/vim
set runtimepath+=$XDG_CONFIG_HOME/vim/after

set packpath^=$XDG_DATA_HOME/vim,$XDG_CONFIG_HOME/vim
set packpath+=$XDG_CONFIG_HOME/vim/after,$XDG_DATA_HOME/vim/after

let plugin_data_dir=$XDG_DATA_HOME    . '/vim/autoload'
let plugin_data_file=plugin_data_dir  . '/plug.vim'
let plugin_install_dir=$XDG_DATA_HOME . '/vim/plugged'
if empty(glob(plugin_data_dir))
    silent execute '!curl -fLo ' . plugin_data_file . ' --create-dirs ' .
    \'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
    autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
 

call plug#begin(plugin_install_dir)
    Plug 'mhartington/oceanic-next' " Color scheme
call plug#end()

 set termguicolors

" Theme
syntax enable

let g:oceanic_next_terminal_bold = 1
let g:oceanic_next_terminal_italic = 1

colorscheme OceanicNext

Steps to reproduce

  1. Set OceanicNext as colorscheme
  2. :set spell
  3. Write some text with spelling mistakes
@jtmr05
Copy link
Author

jtmr05 commented Mar 4, 2024

if I duplicate the line colorscheme OceanicNext, then everything goes back to normal

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

1 participant