Skip to content

workspace.library and ignore stanza's do not function as expected. #240

@Cidan

Description

@Cidan

As of this writing, the library and ignore stanza's seemingly do not work. Here is a simple configuration file:

{
  "runtime": {
    "version": "Lua5.1"
  },
  "workspace": {
    "enableReindex": true,
    "library": [
      "./libs"
    ]
  }
}

And yet:

Image

I expected behavior similar to luals where libraries are ignored entirely and just read for annotations. Similarly, if I try any combination of ignoreDir and ignoreGlobs, things may or may not lint even if I don't want them to.

The only combination that I can get to work is if I literally ignoreGlob **/*.lua, and even then, if i open a file directly, it will sometimes lint it anyway.

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