Skip to content

Diagnostic warn about duplicates from symlinked workspace #2003

@strash

Description

@strash

How are you using the lua-language-server?

NeoVim

Which OS are you using?

MacOS

What is the issue affecting?

Diagnostics/Syntax Checking

Expected Behaviour

I expected ignoring symlinks.

Actual Behaviour

I have a plugin I'm developing on my machine and I'm using Packer (plugin manager) to install the plugin in a plugins directory. Local plugins are just symlinked. This causes the diagnostics to warn about duplicates in every single annotation.

If I remove the symlink diagnostic stop spamming warnings.

Screenshot 2023-03-12 at 14 55 48

Screenshot 2023-03-12 at 14 57 27

Reproduction steps

  1. Install latest stable neovim
  2. Install Packer or, I think, any other plugin manager
  3. Install local plugin via plugin manager use("~/path_to_plugin")
  4. Open any file which contains annotations
  5. See warnings

Additional Notes

No response

Log File

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUser has a question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions