mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Change the scoring system for autocomplete, scale 0-100
This commit is contained in:
parent
b73b78e570
commit
3deebc8642
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ define [
|
|||
caption: "\\#{commandName}{}",
|
||||
snippet: "\\#{commandName}{}",
|
||||
meta: "reference",
|
||||
score: 11000
|
||||
score: 60
|
||||
}
|
||||
if references.keys and references.keys.length > 0
|
||||
references.keys.forEach (key) ->
|
||||
|
@ -102,7 +102,7 @@ define [
|
|||
caption: "\\#{commandName}{#{previousArgsCaption}#{key}#{if needsClosingBrace then '}' else ''}",
|
||||
value: "\\#{commandName}{#{previousArgs}#{key}#{if needsClosingBrace then '}' else ''}",
|
||||
meta: "reference",
|
||||
score: 10000
|
||||
score: 50
|
||||
})
|
||||
callback null, result
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue