Skip to content

Commit

Permalink
Add support for RON (Rusty Object Notation) (#6849)
Browse files Browse the repository at this point in the history
  • Loading branch information
spenserblack committed Jun 7, 2024
1 parent c344f7e commit b15f99b
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -1335,6 +1335,9 @@
[submodule "vendor/grammars/vscode-rbs-syntax"]
path = vendor/grammars/vscode-rbs-syntax
url = https://github.com/soutaro/vscode-rbs-syntax.git
[submodule "vendor/grammars/vscode-ron"]
path = vendor/grammars/vscode-ron
url = https://github.com/a5huynh/vscode-ron.git
[submodule "vendor/grammars/vscode-scala-syntax"]
path = vendor/grammars/vscode-scala-syntax
url = https://github.com/scala/vscode-scala-syntax
Expand Down
2 changes: 2 additions & 0 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,8 @@ vendor/grammars/vscode-python:
- source.pip-requirements
vendor/grammars/vscode-rbs-syntax:
- source.rbs
vendor/grammars/vscode-ron:
- source.ron
vendor/grammars/vscode-scala-syntax:
- source.scala
vendor/grammars/vscode-singularity:
Expand Down
8 changes: 8 additions & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5830,6 +5830,14 @@ RMarkdown:
- ".rmd"
tm_scope: text.md
language_id: 313
RON:
type: data
color: "#a62c00"
extensions:
- ".ron"
ace_mode: rust
tm_scope: source.ron
language_id: 587855233
RPC:
type: programming
aliases:
Expand Down
15 changes: 15 additions & 0 deletions samples/RON/config.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Config(
root: ".",
color: Auto,
include_hidden: false,
max_rows: 10,
exclude: [
"target/*",
"assets/*",
],
output: Output(
path: Some("out"),
format: Pretty,
),
timeout: 3600.0,
)
1 change: 1 addition & 0 deletions vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **REALbasic:** [peters-ben-0007/VBDotNetSyntax](https://github.com/peters-ben-0007/VBDotNetSyntax)
- **REXX:** [mblocker/rexx-sublime](https://github.com/mblocker/rexx-sublime)
- **RMarkdown:** [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language)
- **RON:** [a5huynh/vscode-ron](https://github.com/a5huynh/vscode-ron)
- **RPC:** [textmate/c.tmbundle](https://github.com/textmate/c.tmbundle)
- **RPGLE:** [barrettotte/vscode-ibmi-languages](https://github.com/barrettotte/vscode-ibmi-languages)
- **RPM Spec:** [waveclaw/language-rpm-spec](https://github.com/waveclaw/language-rpm-spec)
Expand Down
1 change: 1 addition & 0 deletions vendor/grammars/vscode-ron
Submodule vscode-ron added at 8a6f07
19 changes: 19 additions & 0 deletions vendor/licenses/git_submodule/vscode-ron.dep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: vscode-ron
version: 8a6f077d64092fa68d638e956784b27b49431240
type: git_submodule
homepage: https://github.com/a5huynh/vscode-ron.git
license: mit
licenses:
- sources: LICENSE.md
text: |+
Copyright 2019 Andrew Huynh
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
notices: []
...

0 comments on commit b15f99b

Please sign in to comment.