Modules/Neovim: Replace lazygit with Snacks.lazygit
This commit is contained in:
@ -735,14 +735,6 @@ in {
|
|||||||
config = mkDefaultConfig name;
|
config = mkDefaultConfig name;
|
||||||
};
|
};
|
||||||
|
|
||||||
lazygit = {
|
|
||||||
name = "lazygit";
|
|
||||||
pkg = pkgs.vimPlugins.lazygit-nvim;
|
|
||||||
dependencies = [_plenary];
|
|
||||||
lazy = true;
|
|
||||||
cmd = ["LazyGit" "LazyGitConfig" "LazyGitCurrentFile" "LazyGitFilter" "LazyGitFilterCurrentFile"];
|
|
||||||
};
|
|
||||||
|
|
||||||
lint = {
|
lint = {
|
||||||
name = "lint";
|
name = "lint";
|
||||||
pkg = pkgs.vimPlugins.nvim-lint;
|
pkg = pkgs.vimPlugins.nvim-lint;
|
||||||
@ -1998,7 +1990,6 @@ in {
|
|||||||
|
|
||||||
jdtls # Eclipse JDT language server integration for Java
|
jdtls # Eclipse JDT language server integration for Java
|
||||||
lastplace # Reopen a file at the last editing position
|
lastplace # Reopen a file at the last editing position
|
||||||
lazygit # Git frontend
|
|
||||||
# leetcode # Solve leetcode problems
|
# leetcode # Solve leetcode problems
|
||||||
lint # Lint documents on save
|
lint # Lint documents on save
|
||||||
lspconfig # Language server configurations for different languages
|
lspconfig # Language server configurations for different languages
|
||||||
|
@ -678,7 +678,7 @@
|
|||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>gg";
|
key = "<leader>gg";
|
||||||
action = "<cmd>LazyGit<cr>";
|
action = "<cmd>lua Snacks.lazygit.open()<cr>";
|
||||||
options.desc = "LazyGit";
|
options.desc = "LazyGit";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user