Add support for Inko (#10656)

This adds formatting and Tree-sitter support for Inko
(https://inko-lang.org/).
This commit is contained in:
Yorick Peterse 2024-05-06 18:04:32 +02:00 committed by GitHub
parent 295a9a95ce
commit b437b8b0ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 295 additions and 0 deletions

View file

@ -2691,6 +2691,21 @@ indent = { tab-width = 4, unit = "\t" }
name = "ini"
source = { git = "https://github.com/justinmk/tree-sitter-ini", rev = "4d247fb876b4ae6b347687de4a179511bf67fcbc" }
[[language]]
name = "inko"
auto-format = true
scope = "source.inko"
injection-regex = "inko"
file-types = ["inko"]
roots = ["inko.pkg"]
comment-token = "#"
indent = { tab-width = 2, unit = " " }
formatter = { command = "inko", args = ["fmt", "-"] }
[[grammar]]
name = "inko"
source = { git = "https://github.com/inko-lang/tree-sitter-inko", rev = "6983354c13a14bc621d7a3619f1790149e901187" }
[[language]]
name = "bicep"
scope = "source.bicep"