We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73a58e4 commit b372161Copy full SHA for b372161
lua/astrolsp/file_operations.lua
@@ -25,7 +25,7 @@ local filter_cache = {}
25
local match_filters = function(filters, name)
26
local fname = vim.fn.fnamemodify(name, ":p")
27
for _, filter in pairs(filters) do
28
- if not filter_cache[filter] then filter_cache = {} end
+ if not filter_cache[filter] then filter_cache[filter] = {} end
29
if filter_cache[filter][fname] == nil then
30
local matched = false
31
local pattern = filter.pattern
0 commit comments