镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

allow comments after rerurn #3414

Open
Open

Description

@kuvaldini

diag action-after-return

return {}
-- comment  >> <eof> expected after `return`. [action-after-return]

i think comments after return is not diag,warn,err

Activity

  1. kuvaldini commented on May 31, 2026

    @kuvaldini
    Author

    ps. i did not find how to disable that in https://luals.github.io/wiki/settings/

  2. sumneko commented on Jun 12, 2026

    @sumneko
    Collaborator

    我无法再现这个问题,这是完整的代码吗?

  3. Issues-translate-bot commented on Jun 12, 2026

    @Issues-translate-bot

    Sumneko Lua translate bot


    I can't reproduce the issue, is this the complete code?

  4. kuvaldini commented on Jun 13, 2026

    @kuvaldini
    Author

    yep, that is enough to reproduce with fresh lazyvim

  5. sumneko commented on Jun 24, 2026

    @sumneko
    Collaborator

    请添加启动参数 --rpclog ,然后提供给我日志。
    有可能是文件末尾有奇怪的符号?

    https://github.com/LuaLS/lua-language-server/wiki/FAQ

  6. Issues-translate-bot commented on Jun 24, 2026

    @Issues-translate-bot

    Sumneko Lua translate bot


    Please add the startup parameter --rpclog and provide me the logs.
    Is it possible that there are strange symbols at the end of the file?

    https://github.com/LuaLS/lua-language-server/wiki/FAQ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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