diff options
Diffstat (limited to 'src/configs/elm.rs')
-rw-r--r-- | src/configs/elm.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/configs/elm.rs b/src/configs/elm.rs index 17dc35686..801622cf4 100644 --- a/src/configs/elm.rs +++ b/src/configs/elm.rs @@ -8,6 +8,9 @@ pub struct ElmConfig<'a> { pub symbol: &'a str, pub style: &'a str, pub disabled: bool, + pub detect_extensions: Vec<&'a str>, + pub detect_files: Vec<&'a str>, + pub detect_folders: Vec<&'a str>, } impl<'a> RootModuleConfig<'a> for ElmConfig<'a> { @@ -17,6 +20,9 @@ impl<'a> RootModuleConfig<'a> for ElmConfig<'a> { symbol: "🌳 ", style: "cyan bold", disabled: false, + detect_extensions: vec!["elm"], + detect_files: vec!["elm.json", "elm-package.json", ".elm-version"], + detect_folders: vec!["elm-stuff"], } } } |