Skip to content

Commit

Permalink
fixup! fixup! Extract AtSuggestionCompleter
Browse files Browse the repository at this point in the history
  • Loading branch information
tamuratak committed Sep 10, 2023
1 parent 9f1c203 commit 9e934ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/completion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ suite('Completion test suite', () => {
await sleep(1000)
const pos = new vscode.Position(3,1)
const token = new vscode.CancellationTokenSource().token
const atSuggestionCompleter = new AtSuggestionCompleter(extension.exports.realExtension, '@')
const atSuggestionCompleter = new AtSuggestionCompleter(extension.exports.realExtension, '#')
await atSuggestionCompleter.readyPromise
const items = atSuggestionCompleter.provideCompletionItems(
doc, pos, token,
Expand Down
3 changes: 1 addition & 2 deletions test/fixtures/completion/fixture003/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"latex-toybox.intellisense.atSuggestionJSON.replace": {
"@+": "\\sum",
"@8": "",
},
"latex-toybox.intellisense.atSuggestion.trigger.latex": "#"
}
}

0 comments on commit 9e934ba

Please sign in to comment.