We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when staging changes the signs used are the default ones
0.10
nixos
use the signs specified in the config
the git diff inside this repo:
diff --git a/home-manager/nvim/config/lua/plugins/ui/gitsigns.lua b/home-manager/nvim/config/lua/plugins/ui/gitsigns.lua index 819273b..f9c08c7 100644 --- a/home-manager/nvim/config/lua/plugins/ui/gitsigns.lua +++ b/home-manager/nvim/config/lua/plugins/ui/gitsigns.lua @@ -18,9 +18,9 @@ return { }, opts = { signs = { - add = { text = " a" }, - change = { text = " c" }, - delete = { text = " d" }, + add = { text = " A" }, + change = { text = " C" }, + delete = { text = " D" }, topdelete = { text = " t" }, changedelete = { text = " C" }, untracked = { text = " u" },
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 signs = { add = { text = " a" }, change = { text = " c" }, delete = { text = " d" }, topdelete = { text = " t" }, changedelete = { text = " C" }, untracked = { text = " u" }, }, signcolumn = true, } -- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
mkdir gitsigns_issue
cd gitsigns_issue
git init
echo line 1\nline 2\nline 3\nline 4 > file
git add file
nvim --clean -u minimal.lua file
No response
The text was updated successfully, but these errors were encountered:
https://github.com/lewis6991/gitsigns.nvim/blob/main/doc%2Fgitsigns.txt#L569
Sorry, something went wrong.
No branches or pull requests
Description
when staging changes the signs used are the default ones
Neovim version
0.10
Operating system and version
nixos
Expected behavior
use the signs specified in the config
Actual behavior
the git diff inside this repo:
Minimal config
Steps to reproduce
mkdir gitsigns_issue
cd gitsigns_issue
git init
echo line 1\nline 2\nline 3\nline 4 > file
git add file
nvim --clean -u minimal.lua file
Gitsigns debug messages
No response
Gitsigns cache
No response
The text was updated successfully, but these errors were encountered: