Skip to content

Commit

Permalink
docs: fix initial_sort example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
tmillr authored and natecraddock committed Sep 15, 2024
1 parent 9c23e2f commit 5721be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5721be2

Please sign in to comment.