mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-01 13:14:42 +00:00
Diff: https://github.com/michaelb/sniprun/compare/v1.3.20...v1.3.21 Changelog: https://github.com/michaelb/sniprun/blob/v1.3.21/CHANGELOG.md
15 lines
584 B
Diff
15 lines
584 B
Diff
diff --git a/lua/sniprun.lua b/lua/sniprun.lua
|
|
index 2c5d460..f785caa 100644
|
|
--- a/lua/sniprun.lua
|
|
+++ b/lua/sniprun.lua
|
|
@@ -3,8 +3,7 @@ M.ping_anwsered = 0
|
|
M.info_floatwin = {}
|
|
|
|
-- See https://github.com/tjdevries/rofl.nvim/blob/632c10f2ec7c56882a3f7eda8849904bcac6e8af/lua/rofl.lua
|
|
-local binary_path = vim.fn.fnamemodify(vim.api.nvim_get_runtime_file("lua/sniprun.lua", false)[1], ":h:h")
|
|
- .. "/target/release/sniprun"
|
|
+local binary_path = "@sniprun@"
|
|
|
|
local sniprun_path = vim.fn.fnamemodify(vim.api.nvim_get_runtime_file("lua/sniprun.lua", false)[1], ":p:h") .. "/.."
|
|
|