From 5721be27df11a19b9cd95e6a4887f16f26599802 Mon Sep 17 00:00:00 2001 From: Tyler Miller Date: Sat, 14 Sep 2024 19:19:41 -0700 Subject: [PATCH] docs: fix `initial_sort` example in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71d7661..8820928 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ Here is an example that prioritizes `.lua` files ['zf-native'] = { file = { initial_sort = function (line) - if line:match('.lua$') then + if line:match('%.lua$') then return 0 end return 1