Fix some warnings
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ local utils = require("utils")
|
||||
|
||||
-- Install 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
|
||||
utils.assert_any_installed({ "curl", "wget", })
|
||||
utils.assert_installed("unzip")
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ function M.run(args)
|
||||
dap.run(config)
|
||||
-- List of events described at https://microsoft.github.io/debug-adapter-protocol/specification#Events
|
||||
-- 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", })
|
||||
end
|
||||
end
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
|
||||
local M = {}
|
||||
|
||||
M.os_name = vim.loop.os_uname().sysname
|
||||
M.os_name = vim.uv.os_uname().sysname
|
||||
|
||||
--- Check that an executable is available
|
||||
--- @param exe string: Array to look for
|
||||
|
||||
Reference in New Issue
Block a user