lazy.nvim/tests/core
Vlad 784a726f2e
style: Set vim.opt.rtp type to vim.Option (#1498)
## Details

There is an issue in the `neodev` repo that mentions this:
[#193](https://github.com/folke/neodev.nvim/issues/193)

I think the problem comes from a combination of 2 things:

1. As mentioned in the [Reddit post](https://www.reddit.com/r/neovim/comments/1cvrilk/diagnosticwarning_after_upgrade_to_neovim_010/):
   `Nvim never had Lua type annotations for vim.opt`.
2. Setting `vim.opt.rtp` anywhere in the config will cause Lua-LS to infer the
   type for `vim.opt.rtp`. While users are unlikely to do this it does happen
   in `lazy.nvim`, in places shown in this PR.
2024-06-04 06:58:19 +02:00
..
e2e_spec.lua feat: refactor all vim.loop -> vim.uv and add a shim when needed 2024-03-22 08:58:36 +01:00
init_spec.lua test: test XDG paths for tests and added a test that checks if they are setup correctly 2022-12-02 09:25:30 +01:00
plugin_spec.lua refactor: Handler.load => Handler.resolve 2023-10-17 17:43:37 +02:00
util_spec.lua style: Set vim.opt.rtp type to vim.Option (#1498) 2024-06-04 06:58:19 +02:00