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

'Decorations' empty #30

Open
CHr15W3 opened this issue Feb 16, 2025 · 1 comment
Open

'Decorations' empty #30

CHr15W3 opened this issue Feb 16, 2025 · 1 comment

Comments

@CHr15W3
Copy link

CHr15W3 commented Feb 16, 2025

Hi,

I've tried setting up this plugin in neovim using lazy and the install script. As far as I can tell the setup/request works, however, the response to request never contains any decorations. Concretely, when I print the result variable in response handler it contains the following:

{
  decorations = {},
  is_analyzed = true,
  path = "/home/chriswe/.local/share/nvim/lazy/rustowl/example/all.rs"
}

regardless of which token I hover over.

This was with an "empty" rust project (create with cargo new)
Is there any additional setup required?

Thanks you and best!

@cordx56
Copy link
Owner

cordx56 commented Feb 16, 2025

Thanks for your comment!

This may happen if the target file is not part of a workspace created by Cargo. In your log, it refers to a single source file, so it cannot visualize properly, meaning it may not work.

Additionally, if there are any syntax or type errors, the result will be the same.

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