noir-lang / vscode-noir

Apache License 2.0
6 stars 7 forks source link

Restructure repo for compatibility with TextMate / Linguist #34

Closed Savio-Sou closed 1 year ago

Savio-Sou commented 1 year ago

Problem

https://github.com/github-linguist/linguist/pull/6432#issuecomment-1573514145

The current Noir grammar doesn't have files expected by TextMate and similar editors that Linguist uses.

Happy Case

Restructure the repo.

Success should be a successful run of:

  1. git clone https://github.com/critesjosh/linguist.git
  2. cd linguist
  3. script/bootstrap 4. script/grammar-compiler add https://github.com/noir-lang/vscode-noir
  4. script/add-grammar https://github.com/noir-lang/vscode-noir

(cc @critesjosh to confirm if that is what's needed)

Alternatives Considered

No response

Additional Context

Linguist compatibility enables language detection and syntax highlighting on GitHub.

Would you like to submit a PR for this Issue?

No

Support Needs

No response

Savio-Sou commented 1 year ago

Was already addressed with the restructuring in June.