From cae17b91b80ba874ecf4951f8acf289308d2c239 Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Tue, 27 Jan 2015 13:02:13 +0100 Subject: [PATCH] Grammar (TextMate bundle) for Liquid --- .gitmodules | 3 +++ grammars.yml | 2 ++ lib/linguist/languages.yml | 2 +- vendor/grammars/liquid.tmbundle | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) create mode 160000 vendor/grammars/liquid.tmbundle diff --git a/.gitmodules b/.gitmodules index 79209740..77feab12 100644 --- a/.gitmodules +++ b/.gitmodules @@ -549,3 +549,6 @@ [submodule "vendor/grammars/turtle.tmbundle"] path = vendor/grammars/turtle.tmbundle url = https://github.com/peta/turtle.tmbundle +[submodule "vendor/grammars/liquid.tmbundle"] + path = vendor/grammars/liquid.tmbundle + url = https://github.com/bastilian/validcode-textmate-bundles diff --git a/grammars.yml b/grammars.yml index c85b2de6..6dbcb647 100644 --- a/grammars.yml +++ b/grammars.yml @@ -289,6 +289,8 @@ vendor/grammars/less.tmbundle: - source.css.less vendor/grammars/lilypond.tmbundle: - source.lilypond +vendor/grammars/liquid.tmbundle: +- text.html.liquid vendor/grammars/lisp.tmbundle: - source.lisp vendor/grammars/llvm.tmbundle: diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 788b0e87..8b5c1525 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -1598,7 +1598,7 @@ Liquid: type: markup extensions: - .liquid - tm_scope: none + tm_scope: text.html.liquid ace_mode: liquid Literate Agda: diff --git a/vendor/grammars/liquid.tmbundle b/vendor/grammars/liquid.tmbundle new file mode 160000 index 00000000..c65939f1 --- /dev/null +++ b/vendor/grammars/liquid.tmbundle @@ -0,0 +1 @@ +Subproject commit c65939f11ad9a91b8c4660a357c36660e9a09e6c