Skip to content

Commit b372161

Browse files
committed
fix(file_operations): resolve typo in utility function
1 parent 73a58e4 commit b372161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/astrolsp/file_operations.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ local filter_cache = {}
2525
local match_filters = function(filters, name)
2626
local fname = vim.fn.fnamemodify(name, ":p")
2727
for _, filter in pairs(filters) do
28-
if not filter_cache[filter] then filter_cache = {} end
28+
if not filter_cache[filter] then filter_cache[filter] = {} end
2929
if filter_cache[filter][fname] == nil then
3030
local matched = false
3131
local pattern = filter.pattern

0 commit comments

Comments
 (0)