message: Fix bibtex-format.sort in multiroot ws
diff: @@ -55,7 +55,7 @@ export class BibtexFormatter {
  public async formatDocument(document: vscode.TextDocument, sort: boolean, align: boolean, range?: vscode.Range): Promise<vscode.TextEdit[]> {
  // Get configuration
  const bibtexUtils = new BibtexUtils(this.extension, document.uri)
  - const config = vscode.workspace.getConfiguration('latex-workshop')
  + const config = vscode.workspace.getConfiguration('latex-workshop', document)
  const handleDuplicates = config.get('bibtex-format.handleDuplicates') as 'Ignore Duplicates' | 'Highlight Duplicates' | 'Comment Duplicates'
  const lineOffset = range ? range.start.line : 0
  const columnOffset = range ? range.start.character : 0
  @@ -162,13 +162,13 @@ export class BibtexFormatterProvider implements vscode.DocumentFormattingEditPro
  }
  public provideDocumentFormattingEdits(document: vscode.TextDocument, _options: vscode.FormattingOptions, _token: vscode.CancellationToken): vscode.ProviderResult<vscode.TextEdit[]> {
  - const sort = vscode.workspace.getConfiguration('latex-workshop').get('bibtex-format.sort.enabled') as boolean
  + const sort = vscode.workspace.getConfiguration('latex-workshop', document).get('bibtex-format.sort.enabled') as boolean
  this.extension.logger.addLogMessage('Start bibtex formatting on behalf of VSCode\'s formatter.')
  return this.formatter.formatDocument(document, sort, true)
  }
  public provideDocumentRangeFormattingEdits(document: vscode.TextDocument, range: vscode.Range, _options: vscode.FormattingOptions, _token: vscode.CancellationToken): vscode.ProviderResult<vscode.TextEdit[]> {
  - const sort = vscode.workspace.getConfiguration('latex-workshop').get('bibtex-format.sort.enabled') as boolean
  + const sort = vscode.workspace.getConfiguration('latex-workshop', document).get('bibtex-format.sort.enabled') as boolean
  this.extension.logger.addLogMessage('Start bibtex selection formatting on behalf of VSCode\'s formatter.')
  return this.formatter.formatDocument(document, sort, true, range)
  }
  