VSCode-EmmyLua icon indicating copy to clipboard operation
VSCode-EmmyLua copied to clipboard

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

Open Cidan opened this issue 6 months ago • 0 comments

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.

Cidan avatar Jul 12 '25 05:07 Cidan