Skip to content

Fix lua function colorizing error - #26880

Closed
actboy168 (actboy168) wants to merge 1 commit into
microsoft:masterfrom
actboy168:master
Closed

actboy168 (actboy168) wants to merge 1 commit into
microsoft:masterfrom
actboy168:master

Conversation

@actboy168

Copy link
Copy Markdown
function mt:x(a, b) end
function mt1:x(a, b) end
function(a, b) end
function (a, b) end

Before
2

After
1

e.g.
```lua
function mt:x(a, b) end
function mt1:x(a, b) end
function(a, b) end
function (a, b) end
```
@msftclas

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@aeschli

Copy link
Copy Markdown
Contributor

We use the grammar from https://github.com/textmate/lua.tmbundle. Would you mind also create a PR there?

@actboy168

Copy link
Copy Markdown
Author

Do you mean that textmate/lua.tmbundle#7 ?

It looks like this is a nobody to maintain the project.

@aeschli

Copy link
Copy Markdown
Contributor

textmate/lua.tmbundle#7 has been fixed and I update the lua grammar in VSCode. I verified your example works.

@aeschli Martin Aeschlimann (aeschli) added this to the May 2017 milestone May 25, 2017
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants