summaryrefslogtreecommitdiff
path: root/support/texlab/src/util/chktex.rs
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-03-13 03:04:43 +0000
committerNorbert Preining <norbert@preining.info>2023-03-13 03:04:43 +0000
commite3c18c7072eebabaa706008b7fa42c73ec2ff83e (patch)
treebdd26a908e2baa0a97a38169346e53b9e6e51944 /support/texlab/src/util/chktex.rs
parentb3d8df92a44aa1df24a0869d728b45b0baeaa54c (diff)
CTAN sync 202303130304
Diffstat (limited to 'support/texlab/src/util/chktex.rs')
-rw-r--r--support/texlab/src/util/chktex.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/src/util/chktex.rs b/support/texlab/src/util/chktex.rs
index d87eff5f9c..0774207917 100644
--- a/support/texlab/src/util/chktex.rs
+++ b/support/texlab/src/util/chktex.rs
@@ -42,7 +42,7 @@ impl Command {
log::debug!("Calling ChkTeX from directory: {}", working_dir.display());
- let text = document.contents(db).text(db).clone();
+ let text = document.text(db).clone();
Some(Self { text, working_dir })
}