summaryrefslogtreecommitdiff
path: root/support/texlab/src/util.rs
diff options
context:
space:
mode:
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());