Add type hint for vim.opt.rtp
This commit is contained in:
parent
df1a6c0c1d
commit
b5a884ce80
7
init.lua
7
init.lua
|
@ -223,8 +223,11 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
if vim.v.shell_error ~= 0 then
|
if vim.v.shell_error ~= 0 then
|
||||||
error('Error cloning lazy.nvim:\n' .. out)
|
error('Error cloning lazy.nvim:\n' .. out)
|
||||||
end
|
end
|
||||||
end ---@diagnostic disable-next-line: undefined-field
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
|
||||||
|
---@type vim.Option
|
||||||
|
local rtp = vim.opt.rtp
|
||||||
|
rtp:prepend(lazypath)
|
||||||
|
|
||||||
-- [[ Configure and install plugins ]]
|
-- [[ Configure and install plugins ]]
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue