Skip to content

Commit d540fa6

Browse files
authored
1 parent 0635251 commit d540fa6

19 files changed

+2506
-43
lines changed

.github/labeler.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ core:
1616
- changed-files:
1717
- any-glob-to-any-file:
1818
- "lua/snacks/init.lua"
19+
- "lua/snacks/health.lua"
1920
- "plugins/**"
2021
- "queries/**"
2122
- "scripts/**"
@@ -27,6 +28,9 @@ bigfile:
2728
bufdelete:
2829
- changed-files:
2930
- any-glob-to-any-file: "lua/snacks/bufdelete.lua"
31+
dashboard:
32+
- changed-files:
33+
- any-glob-to-any-file: "lua/snacks/dashboard.lua"
3034
debug:
3135
- changed-files:
3236
- any-glob-to-any-file: "lua/snacks/debug.lua"

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ A collection of small QoL plugins for Neovim.
88
| ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---: |
99
| [bigfile](https://github.com/folke/snacks.nvim/blob/main/docs/bigfile.md) | Deal with big files | ‼️ |
1010
| [bufdelete](https://github.com/folke/snacks.nvim/blob/main/docs/bufdelete.md) | Delete buffers without disrupting window layout | |
11+
| [dashboard](https://github.com/folke/snacks.nvim/blob/main/docs/dashboard.md) | Beautiful declarative dashboards | ‼️ |
1112
| [debug](https://github.com/folke/snacks.nvim/blob/main/docs/debug.md) | Pretty inspect & backtraces for debugging | |
1213
| [git](https://github.com/folke/snacks.nvim/blob/main/docs/git.md) | Useful functions for Git | |
1314
| [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) | |
@@ -84,13 +85,15 @@ Please refer to the readme of each plugin for their specific configuration.
8485
---@field quickfile? { enabled: boolean }
8586
---@field statuscolumn? snacks.statuscolumn.Config | { enabled: boolean }
8687
---@field styles? table<string, snacks.win.Config>
88+
---@field dashboard? snacks.dashboard.Config | { enabled: boolean }
8789
---@field terminal? snacks.terminal.Config
8890
---@field toggle? snacks.toggle.Config
8991
---@field win? snacks.win.Config
9092
---@field words? snacks.words.Config
9193
{
9294
styles = {},
9395
bigfile = { enabled = false },
96+
dashboard = { enabled = false },
9497
notifier = { enabled = false },
9598
quickfile = { enabled = false },
9699
statuscolumn = { enabled = false },
@@ -116,6 +119,7 @@ See the example below for how to configure `snacks.nvim`.
116119
---@type snacks.Config
117120
opts = {
118121
bigfile = { enabled = true },
122+
dashboard = { enabled = true },
119123
notifier = {
120124
enabled = true,
121125
timeout = 3000,

0 commit comments

Comments
 (0)