You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not really useful for repro. See the above directions
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
--- Set up lua-language-server and neodev. I don't want to do this for such a simple issue.---It doesn't really matter what you do with this variable, it's the type mismatch that matters.---@typeLazySpeclocalplugin= {
"something",
version=false, -- ERROR!
}
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-2539+ga69c7206
Operating system/version
Arch Linux
Describe the bug
Using
---@type LazySpec
and settingversion = false
gives an error, sinceLazySpec
(reallyLazyPluginRef
) contains---@field version? string
Steps To Reproduce
Expected Behavior
No error. The docs say to set
version = false
to override version handling, but the types don't reflect this possibility.This type should actually be
Repro
Not really useful for repro. See the above directions
The text was updated successfully, but these errors were encountered: