diff options
author | jgmdev <jgmdev@gmail.com> | 2022-05-31 16:25:02 -0400 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2022-05-31 16:25:02 -0400 |
commit | d30a72bdb1dd815461745122c5a3523d1824c381 (patch) | |
tree | ca3f1064fb47b3f7608325a6ac5dd64c70e14de8 /plugins/language_liquid.lua | |
parent | 497cdecd88c4920c364157814168ca5d8aad99c0 (diff) | |
download | lite-xl-plugins-d30a72bdb1dd815461745122c5a3523d1824c381.tar.gz lite-xl-plugins-d30a72bdb1dd815461745122c5a3523d1824c381.zip |
removed lite-xl version and left only mod version
Diffstat (limited to 'plugins/language_liquid.lua')
-rw-r--r-- | plugins/language_liquid.lua | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/language_liquid.lua b/plugins/language_liquid.lua index ea8992f..ad40a79 100644 --- a/plugins/language_liquid.lua +++ b/plugins/language_liquid.lua @@ -1,4 +1,4 @@ --- mod-version:3 --lite-xl 2.1 +-- mod-version:3 local syntax = require "core.syntax" local liquid_syntax = { @@ -92,7 +92,7 @@ local liquid_syntax = { ["upcase"] = "keyword2", ["when"] = "keyword", ["where"] = "keyword2" - + }, } @@ -102,27 +102,27 @@ syntax.add { patterns = { { pattern = { "{%%", "%%}" }, syntax = liquid_syntax, type = "function" }, { pattern = { "{{", "}}" }, syntax = liquid_syntax, type = "function" }, - { - pattern = { + { + pattern = { "<%s*[sS][cC][rR][iI][pP][tT]%s+[tT][yY][pP][eE]%s*=%s*" .. "['\"]%a+/[jJ][aA][vV][aA][sS][cC][rR][iI][pP][tT]['\"]%s*>", - "<%s*/[sS][cC][rR][iI][pP][tT]>" + "<%s*/[sS][cC][rR][iI][pP][tT]>" }, - syntax = ".js", - type = "function" + syntax = ".js", + type = "function" }, - { - pattern = { + { + pattern = { "<%s*[sS][cC][rR][iI][pP][tT]%s*>", - "<%s*/%s*[sS][cC][rR][iI][pP][tT]>" + "<%s*/%s*[sS][cC][rR][iI][pP][tT]>" }, syntax = ".js", type = "function" }, - { - pattern = { - "<%s*[sS][tT][yY][lL][eE][^>]*>", - "<%s*/%s*[sS][tT][yY][lL][eE]%s*>" + { + pattern = { + "<%s*[sS][tT][yY][lL][eE][^>]*>", + "<%s*/%s*[sS][tT][yY][lL][eE]%s*>" }, syntax = ".css", type = "function" |