Skip to content

Commit

Permalink
feat(dashboard): added new dashboard snack (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
folke authored Nov 18, 2024
1 parent 0635251 commit d540fa6
Show file tree
Hide file tree
Showing 19 changed files with 2,506 additions and 43 deletions.
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ core:
- changed-files:
- any-glob-to-any-file:
- "lua/snacks/init.lua"
- "lua/snacks/health.lua"
- "plugins/**"
- "queries/**"
- "scripts/**"
Expand All @@ -27,6 +28,9 @@ bigfile:
bufdelete:
- changed-files:
- any-glob-to-any-file: "lua/snacks/bufdelete.lua"
dashboard:
- changed-files:
- any-glob-to-any-file: "lua/snacks/dashboard.lua"
debug:
- changed-files:
- any-glob-to-any-file: "lua/snacks/debug.lua"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ A collection of small QoL plugins for Neovim.
| ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---: |
| [bigfile](https://github.com/folke/snacks.nvim/blob/main/docs/bigfile.md) | Deal with big files | ‼️ |
| [bufdelete](https://github.com/folke/snacks.nvim/blob/main/docs/bufdelete.md) | Delete buffers without disrupting window layout | |
| [dashboard](https://github.com/folke/snacks.nvim/blob/main/docs/dashboard.md) | Beautiful declarative dashboards | ‼️ |
| [debug](https://github.com/folke/snacks.nvim/blob/main/docs/debug.md) | Pretty inspect & backtraces for debugging | |
| [git](https://github.com/folke/snacks.nvim/blob/main/docs/git.md) | Useful functions for Git | |
| [gitbrowse](https://github.com/folke/snacks.nvim/blob/main/docs/gitbrowse.md) | Open the repo of the active file in the browser (e.g., GitHub) | |
Expand Down Expand Up @@ -84,13 +85,15 @@ Please refer to the readme of each plugin for their specific configuration.
---@field quickfile? { enabled: boolean }
---@field statuscolumn? snacks.statuscolumn.Config | { enabled: boolean }
---@field styles? table<string, snacks.win.Config>
---@field dashboard? snacks.dashboard.Config | { enabled: boolean }
---@field terminal? snacks.terminal.Config
---@field toggle? snacks.toggle.Config
---@field win? snacks.win.Config
---@field words? snacks.words.Config
{
styles = {},
bigfile = { enabled = false },
dashboard = { enabled = false },
notifier = { enabled = false },
quickfile = { enabled = false },
statuscolumn = { enabled = false },
Expand All @@ -116,6 +119,7 @@ See the example below for how to configure `snacks.nvim`.
---@type snacks.Config
opts = {
bigfile = { enabled = true },
dashboard = { enabled = true },
notifier = {
enabled = true,
timeout = 3000,
Expand Down
Loading

0 comments on commit d540fa6

Please sign in to comment.