-
Notifications
You must be signed in to change notification settings - Fork 40.5k
Closed
Description
Updating to the latest gitsigns there are some functions that were deprecated.
Specifically this commit - lewis6991/gitsigns.nvim@8b74e56
- Deprecated config.show_deleted and toggle_deleted()
- Use preview_hunk_inline()
- Deprecated undo_stage_hunk()
- Use stage_hunk() on staged lines
- Updated keymap suggestion in README.md
- Removed hidden option config._inline2
Changes to the initial config may be in order
Deprecated Functions
map('n', '<leader>hu', gitsigns.undo_stage_hunk, { desc = 'git [u]ndo stage hunk' }) |
Suggested by lsp is to replace this with gitsigns.stage_hunk()
on staged signs however the gitsigns plugin just removed this mapping entirely.
map('n', '<leader>tD', gitsigns.toggle_deleted, { desc = '[T]oggle git show [D]eleted' }) |
Suggested by lsp is to reeplace this with gitsigns.preview_hunk_inline()
Metadata
Metadata
Assignees
Labels
No labels