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

[Enhancement] Lua syntax highlighting support for scribunto modules #18

Closed
Thundercraft5 opened this issue Dec 12, 2020 · 5 comments
Closed
Assignees
Labels
invalid This doesn't seem right

Comments

@Thundercraft5
Copy link

No description provided.

@Thundercraft5 Thundercraft5 changed the title [Enhancement] Lua syntax highlighting for scribunto modules [Enhancement] Lua syntax highlighting support for scribunto modules Dec 12, 2020
@Frederisk
Copy link
Owner

I don't quite understand. If you want Lua syntax support, you should choose Lua in the language option in the lower left corner, right?

@Frederisk Frederisk self-assigned this Dec 25, 2020
@Frederisk Frederisk added the invalid This doesn't seem right label Dec 25, 2020
@Frederisk
Copy link
Owner

Since there is no further description, this issue will be closed. If you think this issue is still worth discussing, please describe your thoughts in detail or go to the discussion page.

@GarliC-C
Copy link

I don't quite understand. If you want Lua syntax support, you should choose Lua in the language option in the lower left corner, right?

Yes, but when pulling the Lua page, the pageinfo at the top will cause confusion in the code recognition of the Lua editor. I tried to add 「--」 before the pageinfo. Although it does not affect the post function, the upload result will cause the first line of code to be annotated.

@Frederisk
Copy link
Owner

I don't quite understand. If you want Lua syntax support, you should choose Lua in the language option in the lower left corner, right?

Yes, but when pulling the Lua page, the pageinfo at the top will cause confusion in the code recognition of the Lua editor. I tried to add 「--」 before the pageinfo. Although it does not affect the post function, the upload result will cause the first line of code to be annotated.

@GarliC-C This sounds weird, can you open another issue to describe the problem in more detail? I actually had an improvement on this a few versions ago. But according to your description, it doesn't seem to work properly.

@GarliC-C
Copy link

I don't quite understand. If you want Lua syntax support, you should choose Lua in the language option in the lower left corner, right?

Yes, but when pulling the Lua page, the pageinfo at the top will cause confusion in the code recognition of the Lua editor. I tried to add 「--」 before the pageinfo. Although it does not affect the post function, the upload result will cause the first line of code to be annotated.

@GarliC-C This sounds weird, can you open another issue to describe the problem in more detail? I actually had an improvement on this a few versions ago. But according to your description, it doesn't seem to work properly.

Well, I'm using version 3.4 because my wiki project doesn't support logging in to the latest plug-in version...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants