Skip to content

Commit

Permalink
prepares the 1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
arthrfrts committed Nov 17, 2020
1 parent 8883b99 commit 12666f9
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Completions/Liquid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,14 @@

<!-- Globals -->
<set name="liquid.globals">
<!-- Regular Twig -->
<completion string="now" />
</set>

<!-- Tests -->
<set name="liquid.tests">
<!-- Regular Twig -->
</set>

<!-- Filters -->
<set name="liquid.filters">
<completion string="abs" />
</set>
</completions>
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Arthur Freitas

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.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Liquid.novaextension 🌊

**Liquid** provides syntax highlighting and autocompletion for [Liquid templating markup](http://liquidmarkup.org).
A [Nova](https://nova.app) extension that provides syntax highlighting and autocompletion for [Liquid template markup](http://liquidmarkup.org).

![](https://nova.app/images/en/dark/editor.png)
![](https://github.com/arthrfrts/Liquid.novaextension/blob/main/preview.png)

## Language Support 📚

Expand Down
6 changes: 3 additions & 3 deletions Syntaxes/Liquid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
<scope name="liquid.operator">
<expression>(\+|\-|\*|\/|\%|\/\/|\*\*|\=|\~|\&amp;|\^|\=\=|\!\=|&lt;|&gt;|&gt;\=|&lt;\=|\.\.|\?|\?\:|\?\?|\:)</expression>
</scope>
<scope name="twig.comma">
<scope name="liquid.comma">
<expression>,</expression>
</scope>
</collection>
Expand All @@ -292,8 +292,8 @@
<scope name="liquid.definition.variable">
<symbol type="variable" scope="global" />
<expression>(?&lt;=set)\s+([a-zA-Z_][A-Za-zÀ-ÖØ-öø-ÿ0-9_]*)\s*(\=)</expression>
<capture number="1" name="twig.identifier.name" />
<capture number="2" name="twig.operator" />
<capture number="1" name="liquid.identifier.name" />
<capture number="2" name="liquid.operator" />
</scope>
<scope name="liquid.definition.function">
<symbol type="function" scope="global">
Expand Down
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"identifier": "me.arthr.Liquid",
"name": "Liquid",
"organization": "arthr",
"description": "Syntax highlighting and completions for Liquid template files.",
"description": "Syntax highlighting for Liquid template files.",
"version": "1.0",
"license": "MIT",
"bugs": "https://github.com/arthrfrts/Liquid.novaextension/issues",
Expand Down
Binary file added preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 12666f9

Please sign in to comment.