mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 22:12:56 +00:00
patch kitty-scrollback-nvim because health check depends on git
This commit is contained in:
parent
a61ac456a9
commit
ac6329baf6
13
overlays/kitty-scrollback-nvim.patch
Normal file
13
overlays/kitty-scrollback-nvim.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/lua/kitty-scrollback/health.lua b/lua/kitty-scrollback/health.lua
|
||||
index 9d87dfa..a231b8d 100644
|
||||
--- a/lua/kitty-scrollback/health.lua
|
||||
+++ b/lua/kitty-scrollback/health.lua
|
||||
@@ -234,7 +234,7 @@ local function check_kitty_debug_config()
|
||||
end
|
||||
|
||||
local function check_kitty_scrollback_nvim_version()
|
||||
- local current_version = nil
|
||||
+ local current_version = 'master'
|
||||
local tag_cmd = { 'git', 'describe', '--exact-match', '--tags' }
|
||||
local ksb_dir =
|
||||
vim.fn.fnamemodify(vim.api.nvim_get_runtime_file('lua/kitty-scrollback', false)[1], ':h:h')
|
@ -40,8 +40,12 @@ in {
|
||||
# Packaging plugins entirely with Nix
|
||||
baleia-nvim = plugin "baleia-nvim" inputs.baleia-nvim-src;
|
||||
hmts-nvim = plugin "hmts-nvim" inputs.hmts-nvim-src;
|
||||
kitty-scrollback-nvim =
|
||||
plugin "kitty-scrollback-nvim" inputs.kitty-scrollback-nvim-src;
|
||||
kitty-scrollback-nvim = prev.vimUtils.buildVimPlugin {
|
||||
pname = "kitty-scrollback-nvim";
|
||||
src = inputs.kitty-scrollback-nvim-src;
|
||||
version = "master";
|
||||
patches = [ ./kitty-scrollback-nvim.patch ];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user