aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/nv/nvim/plgs/femaco/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/nv/nvim/plgs/femaco/default.nix22
1 files changed, 16 insertions, 6 deletions
diff --git a/modules/by-name/nv/nvim/plgs/femaco/default.nix b/modules/by-name/nv/nvim/plgs/femaco/default.nix
index adf0ba63..eac6b393 100644
--- a/modules/by-name/nv/nvim/plgs/femaco/default.nix
+++ b/modules/by-name/nv/nvim/plgs/femaco/default.nix
@@ -1,19 +1,29 @@
+# nixos-config - My current NixOS configuration
+#
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of my nixos-config.
+#
+# 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>.
{
- pkgs,
lib,
config,
...
}: let
cfg = config.soispha.programs.nvim;
in {
- home-manager.users.soispha.programs.nixvim = lib.mkIf cfg.enable {
- # TODO: package femaco through a module
+ # TODO: Re-active this plugin, when it does no longer depend on `treesitter-legacy` <2026-01-18>
+ home-manager.users.soispha.programs.nixvim = lib.mkIf false {
+ plugins.femaco = {
+ enable = true;
+ };
+
extraConfigLuaPost = ''
${lib.strings.fileContents ./lua/femaco.lua}
'';
- extraPlugins = [
- pkgs.vimPlugins.nvim-FeMaco-lua
- ];
+
keymaps = [
{
key = "<leader>cc";