aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/installers/std.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/installers/std.lua')
-rw-r--r--lua/nvim-lsp-installer/installers/std.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/lua/nvim-lsp-installer/installers/std.lua b/lua/nvim-lsp-installer/installers/std.lua
index a80b6f97..2d3a8155 100644
--- a/lua/nvim-lsp-installer/installers/std.lua
+++ b/lua/nvim-lsp-installer/installers/std.lua
@@ -217,19 +217,6 @@ function M.write_file(rel_path, contents)
end
end
----@param script_rel_path string @The relative path to the script file to write.
----@param abs_target_executable_path string @The absolute path to the executable that is being aliased.
-function M.executable_alias(script_rel_path, abs_target_executable_path)
- local windows_script = "@call %q %%"
- local unix_script = [[#!/usr/bin/env sh
-exec %q
-]]
- return installers.when {
- unix = M.write_file(script_rel_path, unix_script:format(abs_target_executable_path)),
- win = M.write_file(script_rel_path, windows_script:format(abs_target_executable_path)),
- }
-end
-
---Shallow git clone.
---@param repo_url string
---@param opts {directory: string, recursive: boolean}