bug: Rocks.nvim installation is not up to date and possibly broken
### Prerequisites
- [X] I am using the latest stable or nightly neovim version
- [X] I am using the latest version of the plugin
### Neovim Version
0.10.3
### care.nvim setup
```Lua
require("care").setup{
ui = {
type_icons = "lspkind",
},
```
### Actual behavior
Installing the old 0.1.0 version or the scm version on LuaRocks is severely out of date and the wiki doesn't seem to point this out. It crashes when attempting to use lspkinds.
### Expected behavior
Default configs should just work. Instead you have to use `rocks-git.nvim` and install the main branch.
Using
```toml
[plugins."care.nvim"]
git = "max397574/care.nvim"
rev = "main"
```
### Healthcheck
```markdown
==============================================================================
care: require("care.health").check()
care.nvim ~
- Checking configuration...
- Format entry function:
- Format entry function returns correct value
- Alignments:
- All alignments are correct
-
- Checking dependencies...
- Dependency 'fzy' found
```
### Steps to reproduce
Run `:Rocks install care.nvim` and then use a minimal setup with `require("care").setup{}`.
### Log
_No response_
### Other information
_No response_
### Minimal config
```Lua
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{
"max397574/care.nvim",
-- dependencies = {
-- -- sources
-- -- if you have issues with luarocks
-- "romgrk/fzy-lua-native"
-- },
config = function()
-- keymappings, `require"care.config".setup(...)`
end
},
},
-- if you have issues with luarocks
-- pkg = { sources = { nil } },
})
```
1 条评论