Skip to content

Commit 343acfc

Browse files
authored
docs: fix initial_sort example in README
1 parent 9c23e2f commit 343acfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Here is an example that prioritizes `.lua` files
139139
['zf-native'] = {
140140
file = {
141141
initial_sort = function (line)
142-
if line:match('.lua$') then
142+
if line:match('%.lua$') then
143143
return 0
144144
end
145145
return 1

0 commit comments

Comments
 (0)