Skip to content

Commit

Permalink
nvim - Let gitsigns attach to untracked files
Browse files Browse the repository at this point in the history
  • Loading branch information
zapling committed May 23, 2024
1 parent efe5788 commit 12ed149
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .config/nvim/lua/zapling/config/gitsigns.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ return {
vim.api.nvim_buf_set_keymap(bufnr, 'n', ']c', '<cmd>lua require"gitsigns".next_hunk({wrap = false})<CR>', {});
vim.api.nvim_buf_set_keymap(bufnr, 'n', '[c', '<cmd>lua require"gitsigns".prev_hunk({wrap = false})<CR>', {});
end,
attach_to_untracked = true,
}

0 comments on commit 12ed149

Please sign in to comment.