Fix some warnings
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ local utils = require("utils")
|
|||||||
|
|
||||||
-- Install lazy.nvim
|
-- Install lazy.nvim
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not vim.uv.fs_stat(lazypath) then
|
||||||
if utils.os_name == "Linux" then
|
if utils.os_name == "Linux" then
|
||||||
utils.assert_any_installed({ "curl", "wget", })
|
utils.assert_any_installed({ "curl", "wget", })
|
||||||
utils.assert_installed("unzip")
|
utils.assert_installed("unzip")
|
||||||
|
|||||||
+1
-1
@@ -59,7 +59,7 @@ function M.run(args)
|
|||||||
dap.run(config)
|
dap.run(config)
|
||||||
-- List of events described at https://microsoft.github.io/debug-adapter-protocol/specification#Events
|
-- List of events described at https://microsoft.github.io/debug-adapter-protocol/specification#Events
|
||||||
-- Also see :h dap-extensions
|
-- Also see :h dap-extensions
|
||||||
dap.listeners.after["event_initialized"]["pytest.lua"] = function (session, body)
|
dap.listeners.after["event_initialized"]["pytest.lua"] = function (_, _)
|
||||||
dap.set_exception_breakpoints({ "userUnhandled", })
|
dap.set_exception_breakpoints({ "userUnhandled", })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.os_name = vim.loop.os_uname().sysname
|
M.os_name = vim.uv.os_uname().sysname
|
||||||
|
|
||||||
--- Check that an executable is available
|
--- Check that an executable is available
|
||||||
--- @param exe string: Array to look for
|
--- @param exe string: Array to look for
|
||||||
|
|||||||
Reference in New Issue
Block a user