summaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
diff options
context:
space:
mode:
authorDylan Premo <cyhyraethz@gmail.com>2024-01-18 15:28:12 -0800
committerDylan Premo <cyhyraethz@gmail.com>2024-01-18 15:48:14 -0800
commitc3d75383f89a568b0ee0dc6f807f18f1c8bb9311 (patch)
tree8bc968a3fb5d16fc3cede21da0475aa3d232e97c /src/config/mod.rs
parent80e30b508bc04cc91263bb549e527c1c06c31d25 (diff)
Add config option to support tealdeer
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r--src/config/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index b652608..a5b89c1 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -99,6 +99,10 @@ impl Config {
.or_else(|| self.yaml.finder.overrides_var.clone())
}
+ pub fn tealdeer(&self) -> bool {
+ self.yaml.client.tealdeer.clone()
+ }
+
pub fn shell(&self) -> String {
self.yaml.shell.command.clone()
}