diff --git a/.gitmodules b/.gitmodules index d952dabc01..0e70554089 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1320,6 +1320,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 diff --git a/grammars.yml b/grammars.yml index 6092a1f229..2e8fa17a4e 100644 --- a/grammars.yml +++ b/grammars.yml @@ -1194,6 +1194,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: diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index bfe0ebe9cc..b2bb75c6f1 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -5768,6 +5768,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: diff --git a/samples/RON/config.ron b/samples/RON/config.ron new file mode 100644 index 0000000000..416d5f9183 --- /dev/null +++ b/samples/RON/config.ron @@ -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, +) diff --git a/vendor/README.md b/vendor/README.md index 2dd99fc849..8946154264 100644 --- a/vendor/README.md +++ b/vendor/README.md @@ -461,6 +461,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) diff --git a/vendor/grammars/vscode-ron b/vendor/grammars/vscode-ron new file mode 160000 index 0000000000..8a6f077d64 --- /dev/null +++ b/vendor/grammars/vscode-ron @@ -0,0 +1 @@ +Subproject commit 8a6f077d64092fa68d638e956784b27b49431240 diff --git a/vendor/licenses/git_submodule/vscode-ron.dep.yml b/vendor/licenses/git_submodule/vscode-ron.dep.yml new file mode 100644 index 0000000000..ebf808a49f --- /dev/null +++ b/vendor/licenses/git_submodule/vscode-ron.dep.yml @@ -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: [] +...