Skip to content

Commit

Permalink
add language ron (#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
VuiMuich committed Apr 5, 2022
1 parent 6b80cb8 commit eb84d94
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
| racket | | | | `racket` |
| regex || | | |
| rescript ||| | `rescript-language-server` |
| ron || || |
| ruby || || `solargraph` |
| rust |||| `rust-analyzer` |
| scala || || `metals` |
Expand Down
10 changes: 10 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1028,3 +1028,13 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "gleam"
source = { git = "https://github.com/gleam-lang/tree-sitter-gleam", rev = "7159ce961592192b0e7cdf88782cda0fdf41a4cb" }

[[language]]
name = "ron"
scope = "source.ron"
injection-regex = "ron"
file-types = ["ron"]
roots = []
comment-token = "//"
indent = { tab-width = 4, unit = " " }
grammar = "rust"
1 change: 1 addition & 0 deletions runtime/queries/ron/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: rust
1 change: 1 addition & 0 deletions runtime/queries/ron/indents.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: rust
1 change: 1 addition & 0 deletions runtime/queries/ron/injections.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: rust

0 comments on commit eb84d94

Please sign in to comment.