Restructure eldritch.nvim to match tokyonight.nvim architecture#22
Merged
Restructure eldritch.nvim to match tokyonight.nvim architecture#22
Conversation
- Move color palettes to separate files in lua/eldritch/colors/ - Create modular highlight groups in lua/eldritch/groups/ - Update config.lua with modern options (cache, plugins system) - Update util.lua with modern helper functions (blend_bg, blend_fg, brighten, cache) - Update init.lua and theme.lua for new structure - Create types.lua for type definitions - Update lualine theme to follow new pattern - Add plugin highlight support for 30+ plugins with lazy.nvim auto-detection - Preserve all existing eldritch color palettes (default, darker, minimal) Co-authored-by: neonvoidx <25580051+neonvoidx@users.noreply.github.com>
Co-authored-by: neonvoidx <25580051+neonvoidx@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update eldritch.nvim to align with tokyonight standards
Restructure eldritch.nvim to match tokyonight.nvim architecture
Nov 25, 2025
neonvoidx
approved these changes
Nov 25, 2025
| -- your configuration comes here | ||
| -- or leave it empty to use the default settings | ||
| -- palette = "default", -- This option is deprecated. Use `vim.cmd[[colorscheme eldritch-dark]]` or `vim.cmd[[colorscheme eldritch-minimal]] instead. | ||
| style = "default", -- The theme comes in three styles: "default", "darker" and "minimal" |
Member
There was a problem hiding this comment.
This doesn't change the style
| function M.setup(opts) | ||
| opts = require("eldritch.config").extend(opts) | ||
|
|
||
| local palette = M.styles[opts.style] |
Copilot stopped work on behalf of
neonvoidx due to an error
November 25, 2025 02:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates eldritch.nvim to follow the modern tokyonight.nvim architecture while preserving all existing color palettes and highlight behavior.
Changes
Modular Color System (
lua/eldritch/colors/)default.lua,darker.lua,minimal.luainit.luahandles computed colors (diff, terminal, borders, etc.)Plugin Highlight Groups (
lua/eldritch/groups/)base.lua,treesitter.lua,semantic_tokens.lua,kinds.luafor core highlightsinit.luawith lazy.nvim auto-detection for automatic plugin loadingUpdated Core
config.lua: Addedcache,plugins,styleoptionsutil.lua: Newblend_bg,blend_fg,brighten, cache functionstheme.lua: Simplified to use modular groups systemtypes.lua: Type definitions for highlightsNew Features
All existing color values and highlight groups preserved. Colorscheme commands unchanged:
colorscheme eldritch,colorscheme eldritch-dark,colorscheme eldritch-minimal.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
esm.ubuntu.com/usr/lib/apt/methods/https /usr/lib/apt/methods/https(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.