Skip to content

Commit ab9d28f

Browse files
Merge pull request #21 from TheBeyondGroup/update-grammar
Fix syntax highlighting issues
2 parents 955a99f + b047f84 commit ab9d28f

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extension.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
id = "liquid"
22
name = "Liquid"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
schema_version = 1
55
authors = ["Jeffrey Guenther <guenther.jeffrey@gmail.com>"]
66
description = "Shopify Liquid support"
77
repository = "https://github.com/TheBeyondGroup/zed-shopify-liquid"
88

99
[grammars.liquid]
1010
repository = "https://github.com/hankthetank27/tree-sitter-liquid"
11-
commit = "d68a255c393cfefa9d3185023e2f1684a52907ed"
11+
commit = "d6ebde3974742cd1b61b55d1d94aab1dacb41056"
1212

1313
[language_servers.liquid]
1414
name = "Liquid LSP"

languages/liquid/injections.scm

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
((template_content) @content
2-
(#set! "language" "html")
3-
(#set! "combined"))
1+
((template_content) @injection.content
2+
(#set! injection.language "html")
3+
(#set! injection.combined))
44

55
(javascript_statement
6-
(js_content) @content
7-
(#set! "language" "javascript")
8-
(#set! "combined"))
6+
(js_content) @injection.content
7+
(#set! injection.language "javascript")
8+
(#set! injection.combined))
99

1010
(schema_statement
11-
(json_content) @content
12-
(#set! "language" "json")
13-
(#set! "combined"))
11+
(json_content) @injection.content
12+
(#set! injection.language "json")
13+
(#set! injection.combined))
1414

1515
(style_statement
16-
(style_content) @content
17-
(#set! "language" "css")
18-
(#set! "combined"))
16+
(style_content) @injection.content
17+
(#set! injection.language "css")
18+
(#set! injection.combined))
1919

20-
((front_matter) @content
21-
(#set! "language" "yaml"))
20+
((front_matter) @injection.content
21+
(#set! injection.language "yaml"))
2222

23-
((comment) @content
24-
(#set! "language" "comment"))
23+
((comment) @injection.content
24+
(#set! injection.language "comment"))

0 commit comments

Comments
 (0)