Open
Description
Description
I set LANG=zh_CN.UTF-8 in the system, Gitsigns does not work.
If I run LANG=C nvim ...
, it works.
I guess Gitsigns tries to parse git
output for it to work.
In such a case, some such calls should set LANG=C
enviroment.
Neovim version
v0.11.1
Operating system and version
ArchLinux
Expected behavior
No response
Actual behavior
Gitsigns not working.
Minimal config
for name, url in pairs{
gitsigns = 'https://github.com/lewis6991/gitsigns.nvim',
-- ADD OTHER PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE
} do
local install_path = vim.fn.fnamemodify('gitsigns_issue/'..name, ':p')
if vim.fn.isdirectory(install_path) == 0 then
vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
end
vim.opt.runtimepath:append(install_path)
end
require('gitsigns').setup{
debug_mode = true, -- You must add this to enable debug messages
-- ADD GITSIGNS CONFIG THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
}
-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
Steps to reproduce
Set language in gnome-control-center
Gitsigns debug messages