-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for Vento language #6733
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8525,3 +8525,12 @@ xBase: | |
tm_scope: source.harbour | ||
ace_mode: text | ||
language_id: 421 | ||
Vento: | ||
type: markup | ||
color: "#ff0080" | ||
extensions: | ||
- ".vto" | ||
- ".vento" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Samples and representative search links need to be provided for all extensions being added. Note, all extensions need to meet our usage requirements before inclusion so if one is less popular than another, it's probably best to remove it and people can rely on an override to force the language until it meets the usage requirement for adding at a later date. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, I guess |
||
tm_scope: text.html.js | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not the scope from the grammar. It should be. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I run the |
||
ace_mode: text | ||
language_id: 757053899 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{{ layout "./base.vto" }} | ||
<div class="doc"> | ||
{{ include "templates/header.vto" }} | ||
|
||
<main class="doc-content"> | ||
<header class="doc-header"> | ||
<h1> | ||
{{ title }} | ||
</h1> | ||
{{ description |> md }} | ||
|
||
{{ include "templates/toc.vto" }} | ||
</header> | ||
|
||
<div class="doc-body"> | ||
{{ content |> md }} | ||
</div> | ||
</main> | ||
</div> | ||
{{ /layout }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not the sample you reference in the PR template. Either update the template of this sample. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, I'll search better examples. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -597,6 +597,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting | |
- **Vala:** [technosophos/Vala-TMBundle](https://github.com/technosophos/Vala-TMBundle) | ||
- **Valve Data Format:** [Nixinova/NovaGrammars](https://github.com/Nixinova/NovaGrammars) | ||
- **Velocity Template Language:** [animecyc/AtomLanguageVelocity](https://github.com/animecyc/AtomLanguageVelocity) | ||
- **Vento:** [gregory-m/ejs-tmbundle](https://github.com/gregory-m/ejs-tmbundle) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤨 I have no idea how you did this. This file is automatically updated when you run the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Me neither :) |
||
- **Verilog:** [textmate/verilog.tmbundle](https://github.com/textmate/verilog.tmbundle) | ||
- **Vim Help File:** [Alhadis/language-viml](https://github.com/Alhadis/language-viml) | ||
- **Vim Script:** [Alhadis/language-viml](https://github.com/Alhadis/language-viml) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: vento | ||
version: d4d8040f9cc08b7c1ef977b1ec10f510745b6681 | ||
type: git_submodule | ||
homepage: https://github.com/oscarotero/vento.git | ||
license: mit | ||
licenses: | ||
- sources: LICENSE | ||
text: | | ||
MIT License | ||
|
||
Copyright (c) 2023 Óscar Otero | ||
|
||
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: [] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: vscode-vento | ||
version: 2cd2511e14fd0df66428ea34afd22e86a33ddb91 | ||
type: git_submodule | ||
homepage: https://github.com/oscarotero/vscode-vento.git | ||
license: mit | ||
licenses: | ||
- sources: LICENSE | ||
text: |- | ||
MIT License | ||
|
||
Copyright (c) 2023 - Oscar Otero | ||
|
||
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: [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should only be one entry per language in this file and it should be for the grammar as added by the
add-grammar
script. The script also sorts the file. This is not the grammar repo so doesn't belong in this file.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad. I run
script/add-grammar
twice. The first one passing this repository which gives me an error. So I run again with the vscode repository which contains the grammar. I guess this line was added in the first run. Will remove it.