Skip to content

Commit

Permalink
ChafaTermDb: Fix capitalization of Neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
hpjansson committed Aug 14, 2023
1 parent 9aa6820 commit bcf527f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chafa/chafa-term-db.c
Expand Up @@ -466,19 +466,19 @@ detect_capabilities (ChafaTermInfo *ti, gchar **envp)
gfx_seqs = sixel_seqs;
}

/* Check for NeoVim early. It pretends to be xterm-256color, and may or
/* Check for Neovim early. It pretends to be xterm-256color, and may or
* may not support directcolor. */
if (strlen (nvim) > 0)
{
/* The NeoVim terminal defaults to 256 colors unless termguicolors has
/* The Neovim terminal defaults to 256 colors unless termguicolors has
* been set to true. */
color_seq_list = color_256_list;

/* If COLORTERM was explicitly set to truecolor, honor it. Neovim may do
* this when termguicolors has been set to true *and* COLORTERM was
* previously set. See Neovim commit d8963c434f01e6a7316 (Nov 26, 2020).
*
* The user may also set NVIM_TUI_ENABLE_TRUE_COLOR=1 in older NeoVim
* The user may also set NVIM_TUI_ENABLE_TRUE_COLOR=1 in older Neovim
* versions. We'll honor that one blindly, since it's specific and there
* seems to be no better option. */
if (!g_ascii_strcasecmp (colorterm, "truecolor")
Expand Down

0 comments on commit bcf527f

Please sign in to comment.