From 56efcebc3bb1359136e5945d699d8b91598d3dc4 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 7 Apr 2023 16:13:12 +0300 Subject: [PATCH] docs: add TODO comments to dashboard config --- modules/dashboard/alpha/config.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/dashboard/alpha/config.nix b/modules/dashboard/alpha/config.nix index 5fd07b85..05b49007 100644 --- a/modules/dashboard/alpha/config.nix +++ b/modules/dashboard/alpha/config.nix @@ -184,11 +184,12 @@ in { val = { { type = "text", val = "Quick links", opts = { hl = "SpecialComment", position = "center" } }, { type = "padding", val = 1 }, - dashboard.button("e", " New file", "ene"), - dashboard.button("SPC F", " Find file"), - dashboard.button("SPC ff", " Live grep"), - dashboard.button("SPC p", " Projects"), - dashboard.button("q", " Quit", "qa"), + -- TODO: buttons should be added based on whether or not the relevant plugin is available + dashboard.button("e", " New file", "ene"), -- available all the time + dashboard.button("SPC F", " Find file"), -- telescope + dashboard.button("SPC ff", " Live grep"), -- telescope + dashboard.button("SPC p", " Projects"), -- any project + dashboard.button("q", " Quit", "qa"), -- available all the time }, position = "center", }