1

I want to use modus-vivendi as my color scheme. If the colorscheme is set in the colors.lua, it it does not display correctly, but if it is set directly from nvim (with a different color scheme set by default), it has no problem. You can see here:

img

I leave here my config if that can be of any use.

Can you also point me at some resources on how to troubleshoot this issue?

Output of nvim -v:

NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"
6
  • How is it displaying incorrectly (your pic is actually pretty similar with modus-vivendi's demo pic). Also are you on a 256 color terminal (what's the output of echo $TERM)?
    – Hoblovski
    Commented Apr 4, 2023 at 11:55
  • They are very different left part is correct, the right one is the problem. I'm updating the question so that it is clearer. Output of echo $TERM is xterm-kitty.
    – enrico223
    Commented Apr 4, 2023 at 12:59
  • Welcome to Vi and Vim! Try How to debug my vimrc to reduce your config to the minimal amount needed to reproduce the problem, then edit and include the minimal steps directly in your question.
    – D. Ben Knoble
    Commented Apr 4, 2023 at 14:49
  • Problem remains even with the minimal config
    – enrico223
    Commented Apr 4, 2023 at 15:45
  • Hmm try having export TERM=xterm-256color. I'm using vim on tmux on kitty and it works fine; still I cant help you with neovim though
    – Hoblovski
    Commented Apr 6, 2023 at 6:12

1 Answer 1

0

The problem is the option termguicolors was set to false. Setting it to true solves the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.