File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ pub fn all_same_case_category_to_case_map(case: Case) -> CategoryToCaseMap {
171171pub enum Preset {
172172 #[ default]
173173 VhdlCommon ,
174- Minimal ,
174+ Keep ,
175175}
176176
177177impl Preset {
@@ -190,19 +190,7 @@ impl Preset {
190190 Category :: Type => Case :: Lower ,
191191 Category :: Alias => Case :: Lower ,
192192 } ,
193- Preset :: Minimal => enum_map ! {
194- Category :: Constant => Case :: Upper ,
195- Category :: Attribute => Case :: Keep ,
196- Category :: DesignUnit => Case :: Keep ,
197- Category :: EnumLiteral => Case :: Upper ,
198- Category :: Keyword => Case :: Keep ,
199- Category :: Label => Case :: Keep ,
200- Category :: Library => Case :: Keep ,
201- Category :: Object => Case :: Keep ,
202- Category :: Subprogram => Case :: Keep ,
203- Category :: Type => Case :: Keep ,
204- Category :: Alias => Case :: Keep ,
205- } ,
193+ Preset :: Keep => CategoryToCaseMap :: from_fn ( |_| Case :: Keep ) ,
206194 }
207195 }
208196}
You can’t perform that action at this time.
0 commit comments