1

Modules/Neovim: Replace gitmessenger with Snacks.git

This commit is contained in:
2025-06-19 19:04:09 +02:00
parent 21b638d53e
commit ae1eddf8cb
2 changed files with 2 additions and 25 deletions

View File

@ -597,27 +597,6 @@ in {
config = mkDefaultConfig name;
};
gitmessenger = {
name = "gitmessenger";
pkg = pkgs.vimPlugins.git-messenger-vim;
lazy = true;
cmd = ["GitMessenger"];
init = let
mappings = mylib.generators.toLuaObject {
git_messenger_no_default_mappings = true;
git_messenger_floating_win_opts = {
border = "rounded";
};
};
in ''
function()
for k, v in pairs(${mappings}) do
vim.g[k] = v
end
end
'';
};
gitsigns = rec {
name = "gitsigns";
pkg = pkgs.vimPlugins.gitsigns-nvim;
@ -1981,7 +1960,6 @@ in {
direnv # Automatically load local environments
flash # Highlight f/F search results
gitmessenger # Show last git commit for the current line
gitsigns # Show git line additions/deletions/changes in the gutter
haskell-tools # Haskell integration
illuminate # Highlight usages of word under cursor
@ -1990,7 +1968,6 @@ in {
jdtls # Eclipse JDT language server integration for Java
lastplace # Reopen a file at the last editing position
# leetcode # Solve leetcode problems
lint # Lint documents on save
lspconfig # Language server configurations for different languages
lualine # Status line

View File

@ -684,8 +684,8 @@
{
mode = "n";
key = "<leader>gm";
action = "<cmd>GitMessenger<cr>";
options.desc = "GitMessenger";
action = "<cmd>lua Snacks.git.blame_line()<cr>";
options.desc = "Git Blame";
}
{