Skip to content

Fixed wrong endType symbol in UnmatchedBraceHandler#413

Open
pouwelsjochem wants to merge 1 commit intoEmmyLua:masterfrom
pouwelsjochem:fix_invalid_end_type_completion
Open

Fixed wrong endType symbol in UnmatchedBraceHandler#413
pouwelsjochem wants to merge 1 commit intoEmmyLua:masterfrom
pouwelsjochem:fix_invalid_end_type_completion

Conversation

@pouwelsjochem
Copy link
Contributor

The current handler sometimes entered the wrong endType, this should fix it. Previously the following code would add a '}' instead of end

local test = {
    fun = function()
        if true then[CARET_IS_HERE]

    end
}

The current handler sometimes entered the wrong endType, this should fix it. Previously the following code would add a '}' instead of end

```
local test = {
    fun = function()
        if true then[CARET_IS_HERE]

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant