docs: add TODO comments to dashboard config

This commit is contained in:
NotAShelf 2023-04-07 16:13:12 +03:00
parent aef5882ea2
commit 56efcebc3b
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22

View file

@ -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", "<cmd>ene<CR>"),
dashboard.button("SPC F", " Find file"),
dashboard.button("SPC ff", " Live grep"),
dashboard.button("SPC p", " Projects"),
dashboard.button("q", " Quit", "<cmd>qa<CR>"),
-- TODO: buttons should be added based on whether or not the relevant plugin is available
dashboard.button("e", " New file", "<cmd>ene<CR>"), -- 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", "<cmd>qa<CR>"), -- available all the time
},
position = "center",
}