Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"auto close block with end keyword" does not work with non-local functions #690

Closed
Aristosis opened this issue Jul 13, 2024 · 1 comment
Closed
Labels
duplicate This issue or pull request already exists

Comments

@Aristosis
Copy link

Functions not prefixed with local aren't closed with end, even though indentation is added

function test()
      -- indentation is added, but no end keyword
      
local module = {}

function module.hi()
      -- same thing

local dictionary = {
      somefunc = function(),
            -- ...
}
@JohnnyMorganz
Copy link
Owner

Duplicate of #554

@JohnnyMorganz JohnnyMorganz marked this as a duplicate of #554 Jul 13, 2024
@JohnnyMorganz JohnnyMorganz closed this as not planned Won't fix, can't repro, duplicate, stale Jul 13, 2024
@JohnnyMorganz JohnnyMorganz added the duplicate This issue or pull request already exists label Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants