fix: enforce recent files limit when maxItems setting changes
The limit was only applied on file-open and plugin load, not when the user changed the maxItems setting in the settings tab. Now enforceRecentFilesLimit() is called on every settings change via the onSettingsChange callback.
This commit is contained in: