vimPlugins.gx-nvim: init at 2025-01-07 (#372609)
This commit is contained in:
@@ -4918,6 +4918,19 @@ final: prev:
|
||||
meta.homepage = "https://github.com/junegunn/gv.vim/";
|
||||
};
|
||||
|
||||
gx-nvim = buildVimPlugin {
|
||||
pname = "gx.nvim";
|
||||
version = "2025-01-07";
|
||||
src = fetchFromGitHub {
|
||||
owner = "chrishrb";
|
||||
repo = "gx.nvim";
|
||||
rev = "c7e6a0ace694a098a5248d92a866c290bd2da1cc";
|
||||
sha256 = "14cjwnsrjdfhqx0hbd6j1b9lm668a6c3f72wklx66vp18qy0pafb";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
meta.homepage = "https://github.com/chrishrb/gx.nvim/";
|
||||
};
|
||||
|
||||
hardhat-nvim = buildVimPlugin {
|
||||
pname = "hardhat.nvim";
|
||||
version = "2024-09-22";
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
typescript,
|
||||
vim,
|
||||
which,
|
||||
xdg-utils,
|
||||
xdotool,
|
||||
xkb-switch,
|
||||
xorg,
|
||||
@@ -1183,6 +1184,17 @@ in
|
||||
dependencies = [ self.guard-nvim ];
|
||||
};
|
||||
|
||||
gx-nvim = super.gx-nvim.overrideAttrs {
|
||||
patches = lib.optionals stdenv.hostPlatform.isLinux [
|
||||
(substituteAll {
|
||||
src = ./patches/gx-nvim/fix-paths.patch;
|
||||
inherit xdg-utils;
|
||||
})
|
||||
];
|
||||
|
||||
nvimRequireCheck = "gx";
|
||||
};
|
||||
|
||||
hardhat-nvim = super.hardhat-nvim.overrideAttrs {
|
||||
dependencies = with self; [
|
||||
overseer-nvim
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/lua/gx/init.lua b/lua/gx/init.lua
|
||||
index 12272d4..c51771a 100644
|
||||
--- a/lua/gx/init.lua
|
||||
+++ b/lua/gx/init.lua
|
||||
@@ -73,7 +73,7 @@ local function get_open_browser_app()
|
||||
if sysname == "Darwin" then
|
||||
app = "open"
|
||||
elseif sysname == "Linux" then
|
||||
- app = "xdg-open"
|
||||
+ app = "@xdg-utils@/bin/xdg-open"
|
||||
elseif sysname == "Windows_NT" then
|
||||
app = "powershell.exe"
|
||||
end
|
||||
@@ -407,6 +407,7 @@ https://github.com/nvimdev/guard.nvim/,HEAD,
|
||||
https://github.com/nmac427/guess-indent.nvim/,HEAD,
|
||||
https://github.com/sjl/gundo.vim/,,
|
||||
https://github.com/junegunn/gv.vim/,,
|
||||
https://github.com/chrishrb/gx.nvim/,HEAD,
|
||||
https://github.com/TheSnakeWitcher/hardhat.nvim/,HEAD,
|
||||
https://github.com/m4xshen/hardtime.nvim/,HEAD,
|
||||
https://git.sr.ht/~sircmpwn/hare.vim,HEAD,
|
||||
|
||||
Reference in New Issue
Block a user