Skip to content

luacheck won't work unless the full "lua.luacheckPath" is specified #83

@un-def

Description

@un-def

The description of the lua.luacheckPath setting is misleading. It says it “[s]pecifies the path to the luacheck binary (if not found on PATH).” Actually, it can never be found because the PATH variable is not passed to the language server. That means that the default value (which is "luacheck"https://github.com/trixnz/vscode-lua/blob/v0.12.4/package.json#L52) won't work and the only way to make luacheck work is to specify the full path (e.g., /home/user/.local/bin/luacheck if it installed locally to the user's home).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions