How comeza/nvim works
Configuration Layer (Inner Ring)
• lazy.lua (package manager)
• options.lua (editor settings)
• keymap.lua (key bindings)
• neovide.lua (GUI settings)
Plugin Management Layer (Outer Ring)
• Create clusters for related plugins in /lua/plugins/:
• UI/UX Cluster (alpha.lua, lualine.lua, nvimtree.lua, zen.lua, noice.lua)
• LSP Cluster (lsp.lua, mason.lua, cmp.lua)
• Enhancement Cluster (telescope.lua, treesitter.lua, trouble.lua)
• Feature Cluster (instant.lua, obsidian.lua, mini.lua)
Utility Layer (Side Component)
• Headers.lua to the core
Assets/Resources (Top Layer)
• A section for /headers/ directory
• It to the utils/headers.lua component
Important Elements to Include:
Interaction Flows
• Plugin loading sequence through lazy.lua
• Configuration application flow
Labels and Notes
• Version information
• Optional dependencies (tree-sitter-cli)
• Installation prerequisites
Special Considerations:
Plugin Dependencies
• Relationships between interdependent plugins (e.g., mason and LSP)
• Optional vs. required plugins
Configuration Flow
• Lazy-loading nature of the setup
• How different components are initialized
Resource Management
• How headers and assets are managed
• Integration points with external tools