diff options
Diffstat (limited to 'modules/by-name/nv/nvim/plgs/nvim-cmp/default.nix')
| -rw-r--r-- | modules/by-name/nv/nvim/plgs/nvim-cmp/default.nix | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/by-name/nv/nvim/plgs/nvim-cmp/default.nix b/modules/by-name/nv/nvim/plgs/nvim-cmp/default.nix index 48883bd3..9d6a4f6b 100644 --- a/modules/by-name/nv/nvim/plgs/nvim-cmp/default.nix +++ b/modules/by-name/nv/nvim/plgs/nvim-cmp/default.nix @@ -7,20 +7,14 @@ # # You should have received a copy of the License along with this program. # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. -{ - config, - lib, - ... -}: let - cfg = config.soispha.programs.nvim; -in { +{...}: { soispha.nixpkgs.unfreePackageNames = [ # the plugin is lacking an license and is thus unfree, effectively # its okay though (TODO: investigate <2026-05-11>)? "cmp-calc" ]; - home-manager.users.soispha.programs.nixvim = lib.mkIf cfg.enable { + home-manager.users.soispha.programs.nixvim = { opts.completeopt = [ "menu" # Show completions in a menu "menuone" # Also open menu, when only one completion exists |
