Skip to content

bug: Error incompatibility with mason #389

Closed as duplicate
Closed as duplicate

Description

@C4rl0O3

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.10.4

Operating system/version

Debian 12

Describe the bug

It asks for a function but does not receive it, I used the configuration recommended by the README, it is probably an incompatibility error with Mason

Steps To Reproduce

Failed to run config for nvim-java
...zy/mason.nvim/lua/mason-core/package/AbstractPackage.lua:132: attempt to index local 'location' (a function value)

stacktrace:

  • /mason.nvim/lua/mason-core/package/AbstractPackage.lua:132 in get_receipt
  • /mason.nvim/lua/mason-core/package/AbstractPackage.lua:168 in get_installed_version
  • lua/plugins/nvim-java.lua:5 in config
  • init.lua:39

Expected Behavior

Works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions