Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Rocks.nvim installation is not up to date and possibly broken #159

Open
2 tasks done
EmDash00 opened this issue Jan 2, 2025 · 1 comment
Open
2 tasks done

Comments

@EmDash00
Copy link

EmDash00 commented Jan 2, 2025

Prerequisites

  • I am using the latest stable or nightly neovim version
  • I am using the latest version of the plugin

Neovim Version

0.10.3

care.nvim setup

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

[plugins."care.nvim"]
git = "max397574/care.nvim"
rev = "main"

Healthcheck

==============================================================================
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

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 } },
})
@max397574
Copy link
Owner

not a bug but just how things work

I don't use rocks.nvim that's why the installation instructions for it aren't that good

would be nice if you could open a pr to add the instructions for installing with rocks-git and perhaps add a notice of the current situation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants