Skip to content

Commit

Permalink
Resolve #4363 RequirePackage and RequirePackageWithOptions suggests p…
Browse files Browse the repository at this point in the history
…ackage names
  • Loading branch information
James-Yu committed Sep 3, 2024
1 parent 2d7f3fa commit d49b550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/completion/latex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class Provider implements vscode.CompletionItemProvider {
provider = argumentProvider
break
case 'package':
reg = /(?:\\usepackage(?:\[[^[\]]*\])*){([^}]*)$/
reg = /(?:\\usepackage|RequirePackage|RequirePackageWithOptions(?:\[[^[\]]*\])*){([^}]*)$/
provider = packageProvider
break
case 'documentclass':
Expand Down

0 comments on commit d49b550

Please sign in to comment.