Skip to content

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

@EmDash00

Description

@EmDash00

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 } },
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions