Skip to content

Commit

Permalink
Actually se range parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
kerristrasz committed May 22, 2024
1 parent 94378f6 commit a9a49b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/analyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default class Analyzer {
* @param range range to update, or `undefined` to replace the whole file
*/
public updateDocument(uri: LSP.DocumentUri, text: string, range?: LSP.Range): void {
this.#project.updateDocument(url.fileURLToPath(uri), text);
this.#project.updateDocument(url.fileURLToPath(uri), text, range);
}

/**
Expand Down

0 comments on commit a9a49b7

Please sign in to comment.