From 7da34d5fc3e65cd9a51bd0c8b3ca5a549c9d9657 Mon Sep 17 00:00:00 2001 From: Mirza Arnaut Date: Mon, 17 Feb 2025 11:33:28 +0100 Subject: [PATCH] Add iwe for markdown and update lock file --- flake.lock | 30 +++++++++---------- .../server/cli/helix/languages/markdown.nix | 4 ++- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/flake.lock b/flake.lock index 5cc5785..8f82d52 100644 --- a/flake.lock +++ b/flake.lock @@ -153,11 +153,11 @@ ] }, "locked": { - "lastModified": 1739353546, - "narHash": "sha256-YTqXhBZvCdZLMBupWlCDvRFaTEhaHa2/Xc/p1sUdSZU=", + "lastModified": 1739634831, + "narHash": "sha256-xFnU+uUl48Icas2wPQ+ZzlL2O3n8f6J2LrzNK9f2nng=", "owner": "nix-community", "repo": "disko", - "rev": "26ade1005191e0602a78b0f141970648445bafd9", + "rev": "fa5746ecea1772cf59b3f34c5816ab3531478142", "type": "github" }, "original": { @@ -489,11 +489,11 @@ ] }, "locked": { - "lastModified": 1736373539, - "narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=", + "lastModified": 1739570999, + "narHash": "sha256-eCc0/Q4bPpe4/AS+uzIrHLJcR6BxPQ69q2kD0/Qe6rU=", "owner": "nix-community", "repo": "home-manager", - "rev": "bd65bc3cde04c16755955630b344bc9e35272c56", + "rev": "254d47082e23dbf72fdeca1da6fe1da420f478d8", "type": "github" }, "original": { @@ -652,11 +652,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1739214665, - "narHash": "sha256-26L8VAu3/1YRxS8MHgBOyOM8xALdo6N0I04PgorE7UM=", + "lastModified": 1739580444, + "narHash": "sha256-+/bSz4EAVbqz8/HsIGLroF8aNaO8bLRL7WfACN+24g4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "64e75cd44acf21c7933d61d7721e812eac1b5a0a", + "rev": "8bb37161a0488b89830168b81c48aed11569cb93", "type": "github" }, "original": { @@ -684,11 +684,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1739357830, - "narHash": "sha256-9xim3nJJUFbVbJCz48UP4fGRStVW5nv4VdbimbKxJ3I=", + "lastModified": 1739484910, + "narHash": "sha256-wjWLzdM7PIq4ZAe7k3vyjtgVJn6b0UeodtRFlM/6W5U=", "owner": "nixos", "repo": "nixpkgs", - "rev": "0ff09db9d034a04acd4e8908820ba0b410d7a33a", + "rev": "0b73e36b1962620a8ac551a37229dd8662dac5c8", "type": "github" }, "original": { @@ -774,10 +774,10 @@ "secrets": { "flake": false, "locked": { - "lastModified": 1738968195, - "narHash": "sha256-cfcnfPbztVpP8FaUztkpeRaZl8WD2vvg9d13kisXoe0=", + "lastModified": 1739529468, + "narHash": "sha256-RmvwiHdBKJYA4oqMTYngU1dUQcPOdVyOttoXN+oxrU8=", "ref": "main", - "rev": "868e3639b53528c814daf0bdd4feeb1f979360a8", + "rev": "b9449bcf7d166039ecbd768a954bfe11cba11f2c", "shallow": true, "type": "git", "url": "https://github.com/arunoruto/secrets.nix.git" diff --git a/modules/home-manager/server/cli/helix/languages/markdown.nix b/modules/home-manager/server/cli/helix/languages/markdown.nix index 3f9191c..03d5f64 100644 --- a/modules/home-manager/server/cli/helix/languages/markdown.nix +++ b/modules/home-manager/server/cli/helix/languages/markdown.nix @@ -28,7 +28,7 @@ in ] # ++ lib.optionals (ls ? lsp-ai) [ "lsp-ai" ] ++ lib.optionals (ls ? gpt) [ "gpt" ] - ++ [ ]; + ++ [ "iwe" ]; formatter = { command = "prettier"; args = [ @@ -45,9 +45,11 @@ in ]; language-server = { oxide.command = "markdown-oxide"; + iwe.command = "iwes"; }; }; extraPackages = with pkgs; [ + unstable.iwe markdown-oxide marksman nodePackages.prettier