jordanisaacs / neovim-flake

Nix flake for neovim with configuration
https://jordanisaacs.github.io/neovim-flake
MIT License
246 stars 54 forks source link

Extend configuration #28

Closed andrevmatos closed 1 year ago

andrevmatos commented 1 year ago

Fixes #23

Gives neovim packages a extendConfiguration property, which is a method allowing users to extend this package's configurations with additional modules.

This allows users e.g. to derive .#nix config to generate their own config, assign that to global neovim package, and then in per-project's shell.nix, expand the config to include additional LSP modules or plugins, instead of having to redefine everything from neovimConfiguration.