Skip to content

Commit

Permalink
feat(langs): add liquid extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 11, 2023
1 parent 31bacb8 commit c68d27d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extensions/langs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@codemirror/lang-json": "^6.0.0",
"@codemirror/lang-less": "^6.0.1",
"@codemirror/lang-lezer": "^6.0.0",
"@codemirror/lang-liquid": "^6.0.1",
"@codemirror/lang-markdown": "^6.1.0",
"@codemirror/lang-php": "^6.0.0",
"@codemirror/lang-python": "^6.1.0",
Expand All @@ -43,8 +44,8 @@
"@codemirror/lang-vue": "^0.1.1",
"@codemirror/lang-wast": "^6.0.0",
"@codemirror/lang-xml": "^6.0.0",
"@codemirror/language-data": "^6.0.0",
"@codemirror/legacy-modes": "^6.0.0",
"@codemirror/language-data": ">=6.0.0",
"@codemirror/legacy-modes": ">=6.0.0",
"@nextjournal/lang-clojure": "^1.0.0",
"@replit/codemirror-lang-csharp": "^6.1.0",
"@replit/codemirror-lang-nix": "^6.0.1",
Expand Down
2 changes: 2 additions & 0 deletions extensions/langs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { rust } from '@codemirror/lang-rust';
import { cpp } from '@codemirror/lang-cpp';
import { lezer } from '@codemirror/lang-lezer';
import { php } from '@codemirror/lang-php';
import { liquid } from '@codemirror/lang-liquid';
import { wast } from '@codemirror/lang-wast';
import { vue } from '@codemirror/lang-vue';
import { angular } from '@codemirror/lang-angular';
Expand Down Expand Up @@ -189,6 +190,7 @@ export const langs = {
q: () => StreamLanguage.define(q),
sas: () => StreamLanguage.define(sas),
sass: () => sass(),
liquid: () => liquid(),
mermaid: () => mermaid(),
nix: () => nix(),
svelte: () => svelte(),
Expand Down

0 comments on commit c68d27d

Please sign in to comment.