Commit 06c7598
committed
feat: improve startup time performance
## Details
The configuration for this plugin is split across many files. This is
convenient for development but means that creating the default
configuration loads about 20 modules, which is responsible for a good
chunk (30% to 50%) of the startup time of this plugin.
To improve this behavior combine all the different modules under the
`config` directory into essentially a joined together version of all of
them called `settings.lua`. Use this single file to create the default
configuration as well as store type definitions and schema validation.
Attempt to not degrade development too much by structuring the various
sections somewhat nicely. Handle the new format in the `update` script.1 parent 9ab9dad commit 06c7598
File tree
34 files changed
+1829
-1831
lines changed- doc
- lua/render-markdown
- config
- lib
- scripts
34 files changed
+1829
-1831
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments