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

How can I disable syntax highlighting? #16

Closed
batty098651 opened this issue Jul 2, 2020 · 3 comments
Closed

How can I disable syntax highlighting? #16

batty098651 opened this issue Jul 2, 2020 · 3 comments
Labels
question Further information is requested

Comments

@batty098651
Copy link

How can I disable syntax highlighting? I want to use default one. I just care about code completion.

@Subtixx
Copy link
Owner

Subtixx commented Jul 3, 2020

You have to edit the extension.ts and put the language code you want to use for syntax highlighting in here:

vscode.languages.registerCompletionItemProvider({ scheme: "file", language: "mtalua" }, new functionProvider(context.extensionPath), ".");

then just switch in vscode

@batty098651
Copy link
Author

batty098651 commented Jul 9, 2020

edit; i found that but what i had to edit? i dont know

vscode.languages.registerCompletionItemProvider({ scheme: "file", language: "lua" }, new functionProvider(context.extensionPath), ".");
i changed it to this but it's same like before

editing language mode manually does not change anything (mta lua i lua is the same)

@Subtixx
Copy link
Owner

Subtixx commented Nov 10, 2020

I think thats correct. After doing that change from mtalua to lua just press SHIFT + P and type in "color theme" select "preferences: color theme" and select the appropriated color scheme.

If its not working I need more information what is not working? Does the syntax highlight not change? Does the code completion not work?

@Subtixx Subtixx added the question Further information is requested label Nov 10, 2020
@Subtixx Subtixx closed this as completed Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants