From 3602b0ed858c624ef5377b5dda57df99b31cc616 Mon Sep 17 00:00:00 2001 From: utensil Date: Sun, 20 Oct 2024 23:10:29 +0800 Subject: [PATCH] Add Github Actions, fix deps isssue --- config.lua | 17 +++++++++++++++-- justfile | 1 + 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/config.lua b/config.lua index 29b71d8..d464f23 100644 --- a/config.lua +++ b/config.lua @@ -166,10 +166,23 @@ lvim.plugins = { }, -- setting the keybinding for LazyGit with 'keys' is recommended in -- order to load the plugin when the command is run for the first time + -- keys = { + -- { "lg", "LazyGit", desc = "LazyGit" } + -- } + }, + { + 'topaxi/gh-actions.nvim', keys = { - { "lg", "LazyGit", desc = "LazyGit" } + { 'gh', 'GhActions', desc = 'Open Github Actions' }, + }, + -- optional, you can also install and use `yq` instead. + -- build = 'make', + ---@type GhActionsConfig + opts = {}, + dependencies = { + 'MunifTanjim/nui.nvim' } - } + }, -- play also https://www.vim-hero.com/lessons/basic-movement -- { "ThePrimeagen/vim-be-good" } -- { diff --git a/justfile b/justfile index 96ad98d..81623a0 100644 --- a/justfile +++ b/justfile @@ -71,6 +71,7 @@ run-shellcheck: prep-term: prep-kitty which lazygit || brew install lazygit + which yq || brew install yq prep-alacritty: #!/usr/bin/env bash