Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# GitHub Linguist does not know `.sx`, so it renders SxfeScript as plain text.
# TypeScript is the closest grammar it ships: same expression and statement
# syntax, same `:` type annotations. `let mut`, `&mut`, and `unsafe` are the
# only tokens it misses. The real grammar lives in
# tooling/vscode/syntaxes/sxfe.tmLanguage.json.
*.sx linguist-language=TypeScript
Loading