Skip to content

weird color in SpellBad #122

@jtmr05

Description

@jtmr05

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions