Fork of micro-editor/micro

settings: Don't return maps with `ParsedSettings()`

Map-typed values in the parsedSettings map do not represent settings for individual options, they represent maps of settings for multiple options for the given glob or ft: pattern, and their keys are not option names, they are glob and ft: patterns. So do not expose them to the callers of ParsedSettings(), to prevent the callers from mistakenly treating those patterns as option names, with unpredicted consequences. Co-authored-by: Dmytro Maluka <dmitrymaluka@gmail.com>


Author Jöran Karl Co-author Dmytro Maluka Date Commit Parent 42d0ddf7
+3
1 changed file
+3
1 changed file