Skip to content

Commit

Permalink
docs: update dashboard docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vo Quang Chien committed Jun 11, 2024
1 parent d6f369d commit 2535851
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/nightfall.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,11 @@ integrations config:
<

------------------------------------------------------------------------------
Parameters ~
{colors} NightfallPalette
*nightfall.nvim_dashboard*
Enable `dashboard-nvim` support by adding the following to your Nightfall
integrations config:
>lua
dashboard = { enabled = true }
<

vim:tw=78:ts=8:noet:ft=help:norl:
8 changes: 8 additions & 0 deletions lua/nightfall/themes/integrations/dashboard.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
--- Enable `dashboard-nvim` support by adding the following to your Nightfall
--- integrations config:
--- >lua
--- dashboard = { enabled = true }
--- <
---@tag nightfall.nvim_dashboard

local M = {}

---@param colors NightfallPalette
---@private
function M.get(colors)
return {
DashboardShortCut = { fg = colors.violet },
Expand Down

0 comments on commit 2535851

Please sign in to comment.