Skip to content

Commit c736d7a

Browse files
committed
fix(file_operations): correct casing in file operation options
1 parent 66f1883 commit c736d7a

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
@@ -33,7 +33,7 @@ local match_filters = function(filters, name)
3333
local is_dir = string.sub(fname, #fname) == "/"
3434
if not match_type or (match_type == "folder" and is_dir) or (match_type == "file" and not is_dir) then
3535
local regex = vim.fn.glob2regpat(pattern.glob)
36-
if vim.tbl_get(pattern, "options", "ignorecase") then regex = "\\c" .. regex end
36+
if vim.tbl_get(pattern, "options", "ignoreCase") then regex = "\\c" .. regex end
3737
local previous_ignorecase = vim.o.ignorecase
3838
vim.o.ignorecase = false
3939
matched = vim.fn.match(fname, regex) ~= -1

0 commit comments

Comments
 (0)