extractor.nvim
extractor.nvim is a small Neovim plugin used by the Worker during generate jobs.
Repository: vimcolorschemes/extractor.nvim
Responsibility
Section titled “Responsibility”The plugin tries each colorscheme/background combination, reads highlight groups from a real Neovim instance, and outputs structured color data consumed by the app.
Vim colorschemes are executable editor configuration, not static theme files. The Worker loads them in Neovim and inspects the resulting highlight groups.
How it fits into generation
Section titled “How it fits into generation”- The Worker installs
extractor.nvim. - The Worker installs a candidate repository as a Neovim plugin.
- The Worker asks Neovim which colorschemes are available.
- For each colorscheme, Neovim tries supported backgrounds such as
lightanddark. extractor.nvimmoves through a known Vim code sample and records highlight information.- The Worker stores the extracted data in
colorschemesandcolorscheme_groups.
Read Code Previews for how that data becomes UI.