Qawaz / compose-code-editor

Display & Edit code with syntax highlighting in jetpack compose
https://qawaz.github.io/compose-code-editor
MIT License
67 stars 6 forks source link

Language support for Rust #9

Closed mainrs closed 2 years ago

mainrs commented 2 years ago

https://www.rust-lang.org/

wakaztahir commented 2 years ago

By the way You can use Rust Extensions = "rc", "rs", "rust" Try passing the extension to parseCodeAsAnnotatedString defined here 👍 https://github.com/Qawaz/compose-code-editor/blob/main/codeeditor/src/commonMain/kotlin/com/wakaztahir/codeeditor/utils/Annotation.kt#L20