-
Notifications
You must be signed in to change notification settings - Fork 0
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
Language schema #2
Comments
If anybody knows what exactly are these specification (ie. from a Java library), please help by replying here with information about it. |
Basic syntax highlighting has been implemented in VSCode extension ( |
Here's a basic ledger, If you want to create your own syntax highlighter language schema, you might want to check out some existing tools or libraries that support INI/TOML, such as highlight.js, Pygments, or Prism. Hmu if you need anything else 👍
|
Thank you for your help, I have implemented schema template for VSCode already here: But it only replaced the equals with colon, I'll implement the rest after figuring out how to tokenize these (and implement the language server, see yvvki/rusted-warfare-vscode#2 😅) |
Rusted Warfare uses non-standard specification of INI/TOML file. We need to accommodate this by creating our own
syntax highlighterlanguage schema.Here's the list of modified and/or added specification derived from INI:
Note that all of these are assumptions based on what I observed while working on a Rusted Warfare mod and from analyzing the official Rusted Warfare Modding Reference.
Rusted Warfare Schema
Key and value pair are separated with
:
instead of=
.Value Type
lorem ipsum
foo, bar
69
0.69
true
orfalse
true
The text was updated successfully, but these errors were encountered: