Skip to content

Git colors / terminal escape codes #247

@dycw

Description

@dycw

Description

Thanks for the great plugin!

neogit doesn't seem to be parsing my git diff colors correctly.

Neovim version

NVIM v0.6.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-ahAEvG/neovim-0.6.0~ubuntu1+git202111081211-8cbe100fc-adeb5640f=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/neovim-ahAEvG/neovim-0.6.0~ubuntu1+git202111081211-8cbe100fc-adeb5640f/build/config -I/build/neovim-ahAEvG/neovim-0.6.0~ubuntu1+git202111081211-8cbe100fc-adeb5640f/src -I/build/neovim-ahAEvG/neovim-0.6.0~ubuntu1+git202111081211-8cbe100fc-adeb5640f/.deps/usr/include -I/usr/include -I/build/neovim-ahAEvG/neovim-0.6.0~ubuntu1+git202111081211-8cbe100fc-adeb5640f/build/src/nvim/auto -I/build/neovim-ahAEvG/neovim-0.6.0~ubuntu1+git202111081211-8cbe100fc-adeb5640f/build/include
Compiled by buildd@lcy01-amd64-014

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

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Operating system and version

Ubuntu 20.04

Steps to reproduce

My current setup is LunarVim with this config file.

Expected behavior

No response

Actual behavior

On the left is the git commit dialogue for neogit, and on the right is fugitive:

Screenshot from 2021-11-09 04-30-04

Minimal config

My current setup is `LunarVim` with [this](https://github.com/dycw/dotfiles/blob/0.13.1/lvim/config.lua) config file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions