Skip to content

Commit

Permalink
feat(langulage): Add support dart (#2003)
Browse files Browse the repository at this point in the history
* Add support Dart language

* Add to docs info for langulage dart

* Update website/docs/programming-languages.md

---------

Co-authored-by: Nicolay I <[email protected]>
Co-authored-by: Meng Zhang <[email protected]>
  • Loading branch information
3 people authored May 2, 2024
1 parent 13247e2 commit 62db7bd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions crates/tabby-common/assets/languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,28 @@ top_level_keywords = [
"type",
]

[[config]]
languages = ["dart"]
exts = ["dart"]
line_comment = "//"
top_level_keywords = [
"abstract",
"class",
"late",
"var",
"final",
"const",
"export",
"interface",
"type",
"enum",
"int",
"String",
"double",
"DateTime",
"typedef",
]

[[config]]
languages = ["r"]
exts = ["R", "r"]
Expand Down
1 change: 1 addition & 0 deletions website/docs/programming-languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ For an actual example of an issue or pull request adding the above support, plea
* [C#](https://learn.microsoft.com/en-us/dotnet/csharp/)
* [Solidity](https://soliditylang.org/): Since v0.10.0
* [R](https://www.r-project.org/): Since v0.12.0
* [Dart](https://dart.dev/): Since v0.12.0

## Languages Missing Certain Support

Expand Down

0 comments on commit 62db7bd

Please sign in to comment.