Skip to content

Commit e8a4c03

Browse files
committed
Better handle accentued char in Seal filesearch plugin
1 parent 8eba686 commit e8a4c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Seal.spoon/seal_filesearch.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ end
128128
function SpotlightFileSearch:buildSpotlightQuery()
129129
local queryWords = hs.fnutils.split(self.query, "%s+")
130130
local searchFilters = hs.fnutils.map(queryWords, function(word)
131-
return [[kMDItemFSName like[c] "*]] .. word .. [[*"]]
131+
return [[kMDItemFSName like[cd] "*]] .. word .. [[*"]]
132132
end)
133133
local spotlightQuery = table.concat(searchFilters, [[ && ]])
134134
return spotlightQuery

0 commit comments

Comments
 (0)