Skip to content

Diagnostics: allow disabling EmmyLua luadoc annotations #2391

Closed
@hinell

Description

@hinell

How are you using the lua-language-server?

NeoVim

Which OS are you using?

Linux

What is the issue affecting?

Annotations

Expected Behaviour

Sorry for opening a "bug". This is actually a feature request. My proposal at #2369 was left unanswered.

I request to make it possible to disable emmylua specific luadoc annotations project-wide or file-wise (e.g. per file) entirely.

Motivation:

  • Currently (as of lua-language-server v3.7.0):
    • Can't disable emmylua annotations by using diagnostics config
    • Can't disable them from "settings" either
  • Not everyone is using emmylua; some are using incompatible tools like LDoc to generate docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions