lazy.nvim/lua/lazy/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
..
handler fix(keys): properly deal with ft list for keys. Fixes #1448 2024-05-21 22:10:49 +02:00
cache.lua style: fix some typo (#1496) 2024-06-03 09:18:43 +02:00
config.lua style: Set vim.opt.rtp type to vim.Option (#1498) 2024-06-04 06:58:19 +02:00
loader.lua style: Set vim.opt.rtp type to vim.Option (#1498) 2024-06-04 06:58:19 +02:00
plugin.lua style: fix some typo (#1496) 2024-06-03 09:18:43 +02:00
util.lua feat: refactor all vim.loop -> vim.uv and add a shim when needed 2024-03-22 08:58:36 +01:00