feat(git): add messenger.nvim for floating commit window

This commit is contained in:
sankalp committed 2025-10-16 23:03:56 +05:45
1 parent 9fa2c26fae
commit f310464253
2 files changed
+22 -4

No files matched your search

+1
View File
@@ -19,6 +19,7 @@
"mason-nvim-lint": { "branch": "main", "commit": "767b8ccdddaa977bec8987fd7507b9865a279235" },
"mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
"mdx.nvim": { "branch": "main", "commit": "464a74be368dce212cff02f6305845dc7f209ab3" },
"messenger.nvim": { "branch": "main", "commit": "309fec2ddd3de55eba2781b676931b37ce8190af" },
"mini.nvim": { "branch": "main", "commit": "89eecd8b4c15f8de72dd4b5244534abed8dc086f" },
"neogen": { "branch": "main", "commit": "d7f9461727751fb07f82011051338a9aba07581d" },
"neoscroll.nvim": { "branch": "master", "commit": "f957373912e88579e26fdaea4735450ff2ef5c9c" },
+21 -4
View File
@@ -1,5 +1,22 @@
return {
-- FLOATING COMMIT WINDOW
{
'lsig/messenger.nvim',
enabled = false,
opts = {
border = 'rounded',
},
keys = {
{
'<leader>gc',
'<Cmd>MessengerShow<CR>',
desc = 'show commit in floating window',
mode = 'n',
noremap = true,
silent = true,
},
},
},
-- git signs
{
'lewis6991/gitsigns.nvim',
@@ -23,8 +40,8 @@ return {
},
signs_staged_enable = true,
signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff`
watch_gitdir = {
follow_files = true,
@@ -43,7 +60,7 @@ return {
current_line_blame_formatter = '<author>, <author_time:%R> - <summary>',
sign_priority = 6,
update_debounce = 100,
status_formatter = nil, -- Use default
status_formatter = nil, -- Use default
max_file_length = 40000, -- Disable if file is longer than this (in lines)
preview_config = {
-- Options passed to nvim_open_win