mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #35315 from overleaf/cd-library-reference-search
Search the account Library by cite key in simple \cite{} autocomplete
GitOrigin-RevId: 1ee7512869316220c42a0011aeafa2520b2d767a
This commit is contained in:
@@ -74,6 +74,9 @@ const createAutoComplete = ({ enabled, ...rest }: AutoCompleteOptions) => {
|
||||
return `ol-cm-completion-${completion.type}`
|
||||
},
|
||||
interactionDelay: 0,
|
||||
// Sort "unfiltered" (filter: false) results, e.g. from the library
|
||||
// cite-key source, after normally-scored/fuzzy-matched results
|
||||
unfilteredResultsAtEnd: true,
|
||||
}),
|
||||
/**
|
||||
* A keymap which adds Tab for accepting a completion and Ctrl-Space for opening autocomplete.
|
||||
|
||||
Reference in New Issue
Block a user