forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vimPlugins.gx-nvim: init at 2025-01-07 (NixOS#372609)
- Loading branch information
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
pkgs/applications/editors/vim/plugins/patches/gx-nvim/fix-paths.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters