Skip to content

Commit 134c424

Browse files
feat: add search by description
1 parent cd44fb4 commit 134c424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/store/snippets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export const useSnippetStore = defineStore('snippets', {
326326
includeScore: true,
327327
threshold: isExactSearch ? 0 : 0.4,
328328
ignoreLocation: true,
329-
keys: ['name', 'content.value']
329+
keys: ['name', 'content.value', 'description']
330330
})
331331

332332
const result = fuse.search(q)

0 commit comments

Comments
 (0)