We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 543fd6c commit ade328fCopy full SHA for ade328f
packages/@vuepress/plugin-search/SearchBox.vue
@@ -67,7 +67,7 @@ export default {
67
}
68
69
const { pages } = this.$site
70
- const max = SEARCH_MAX_SUGGESTIONS
+ const max = this.$site.themeConfig.searchMaxSuggestions || SEARCH_MAX_SUGGESTIONS
71
const localePath = this.$localePath
72
const matches = item => (
73
item.title
0 commit comments