Something went wrong. Try again.
Fork of micro-editor/micro
Something went wrong. Try again.
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 (Mar 18, 2026, 6:46 PM UTC) Commit
Copy SHA
Parent 42d0ddf7 42d0ddf73d630f2bc92223ee535f54d065c9b99a