mhartington / oceanic-next

Oceanic Next theme for neovim
Other
1.13k stars 141 forks source link

weird color in SpellBad #122

Open jtmr05 opened 5 months ago

jtmr05 commented 5 months ago

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

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 commented 5 months ago

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