0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

runtime(liquid): Add reverse array filter

Docs: https://shopify.dev/docs/api/liquid/filters/reverse

Filter is available in both Shopify and Jekyll flavors of Liquid, and
likely many others that inherit from 'em ;-)
This commit is contained in:
S0AndS0 2025-07-03 16:19:31 -07:00
parent a494ce1c64
commit 953b6a44e5

View File

@ -101,7 +101,7 @@ syn match liquidPipe '|' contained skipwhite nextgroup=liquidFilter
syn keyword liquidFilter date capitalize downcase upcase escape escape_once first last join sort size where uniq strip_html strip_newlines newline_to_br replace replace_first remove remove_first slice split strip truncate truncatewords prepend append url_encode url_decode abs at_most at_least ceil divided_by floor minus plus round times modulo contained
syn keyword liquidConditional if elsif else endif unless endunless case when endcase ifchanged endifchanged contained
syn keyword liquidRepeat for endfor tablerow endtablerow in break continue limit offset reversed contained
syn keyword liquidRepeat for endfor tablerow endtablerow in break continue limit offset reverse reversed contained
syn match liquidRepeat "\%({%-\=\s*\)\@<=empty\>" contained
syn keyword liquidKeyword assign capture endcapture increasement decreasement cycle include with render contained