From 7d4f793e9e427db83ef970795beb0e347f46630c Mon Sep 17 00:00:00 2001 From: n3oney Date: Mon, 22 May 2023 19:00:33 +0200 Subject: [PATCH] chore: add comments --- docs/release-notes/rl-0.4.adoc | 2 ++ modules/core/default.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/release-notes/rl-0.4.adoc b/docs/release-notes/rl-0.4.adoc index c3e7b80..318732e 100644 --- a/docs/release-notes/rl-0.4.adoc +++ b/docs/release-notes/rl-0.4.adoc @@ -18,6 +18,8 @@ https://github.com/n3oney[n3oney]: * Simplified luaConfigRC and configRC setting - they can now just take strings +* Refactored the resolveDag function - you can just provide a string now, which will default to dag.entryAnywhere + https://github.com/horriblename[horriblename]: * Added `clangd` as alternative lsp for C/++. diff --git a/modules/core/default.nix b/modules/core/default.nix index 244965b..9261caf 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -282,6 +282,7 @@ in { dag, mapResult, }: let + # When the value is a string, default it to dag.entryAnywhere finalDag = lib.mapAttrs (name: value: if builtins.isString value then nvim.dag.entryAnywhere value