Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Aug 26, 2024
1 parent 9454ebe commit 26e00bf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions neovim/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -291,27 +291,27 @@ local runners = {
file_path,
}
end,
bash = function(file_path, root_dir, is_test)
bash = function(file_path, _, _)
return {
"bash",
file_path,
}
end,
fish = function(file_path, root_dir, is_test)
fish = function(file_path, _, _)
return {
"fish",
file_path,
}
end,
xml = function(file_path, root_dir, is_test)
xml = function(_, _, _)
return {
"curl",
"-X",
"POST",
"http://127.0.0.1:7777/set_reload_request",
}
end,
lua = function(file_path, root_dir, is_test)
lua = function(file_path, _, _)
vim.cmd.source(file_path)
end,
rust = function(file_path, root_dir, is_test)
Expand All @@ -327,7 +327,6 @@ local runners = {
end

local metadata = vim.json.decode(cmd_output.stdout)
local workspace_root = metadata.workspace_root

for _, package in ipairs(metadata.packages) do
for _, target in ipairs(package.targets) do
Expand Down

0 comments on commit 26e00bf

Please sign in to comment.