mirror of https://github.com/folke/lazy.nvim.git
refactor(util)!: `require("lazy.util").open_cmd()` is deprecated. See the docs
This commit is contained in:
parent
317df42fcf
commit
4f76b431f7
|
@ -142,6 +142,11 @@ function M.float_cmd(cmd, opts)
|
||||||
return float
|
return float
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@deprecated use float_term or float_cmd instead
|
||||||
|
function M.open_cmd()
|
||||||
|
M.warn([[`require("lazy.util").open_cmd()` is deprecated. Please use `float_term` instead. Check the docs]])
|
||||||
|
end
|
||||||
|
|
||||||
---@return string?
|
---@return string?
|
||||||
function M.head(file)
|
function M.head(file)
|
||||||
local f = io.open(file)
|
local f = io.open(file)
|
||||||
|
|
Loading…
Reference in New Issue