summaryrefslogtreecommitdiff
path: root/support/texlab/src/util.rs
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-12-30 03:01:26 +0000
committerNorbert Preining <norbert@preining.info>2022-12-30 03:01:26 +0000
commit844019377157163b461e0fd4a66592e61963a530 (patch)
tree32f61991c6a5acc3a3359ffc2cdefdd2aa004268 /support/texlab/src/util.rs
parent55c69feeef908f49007708be194b7bb1c607f302 (diff)
CTAN sync 202212300301
Diffstat (limited to 'support/texlab/src/util.rs')
-rw-r--r--support/texlab/src/util.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/support/texlab/src/util.rs b/support/texlab/src/util.rs
new file mode 100644
index 0000000000..1c4d55a19d
--- /dev/null
+++ b/support/texlab/src/util.rs
@@ -0,0 +1,15 @@
+pub mod capabilities;
+pub mod chktex;
+pub mod components;
+pub mod cursor;
+pub mod label;
+pub mod lang_data;
+pub mod line_index;
+pub mod line_index_ext;
+pub mod lsp_enums;
+
+use std::path::PathBuf;
+
+use once_cell::sync::Lazy;
+
+pub static HOME_DIR: Lazy<Option<PathBuf>> = Lazy::new(|| dirs::home_dir());