Skip to content

Conversation

Weihnachtsbaum
Copy link

@Weihnachtsbaum Weihnachtsbaum commented Apr 4, 2025

Adds support for WESL.

The test is failing, I don't know if I did something wrong 🤔
If I remove the nested comment block, the test passes.

@hexclover
Copy link

You probably want to use the nested option?

    "Rust": {
      "line_comment": ["//"],
      "multi_line_comments": [["/*", "*/"]],
      "nested": true, // <-------- This
      "important_syntax": ["///", "//!"],
      "extensions": ["rs"],
      "quotes": [["\\\"", "\\\""], ["#\\\"", "\\\"#"]],
      "verbatim_quotes": [["r##\\\"", "\\\"##"], ["r#\\\"", "\\\"#"]]
    },

@Weihnachtsbaum
Copy link
Author

@hexclover Thank you, it works now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants