Skip to content

Commit 7a48528

Browse files
committed
feat(plugins): add snacks.nvim support
1 parent ad79f5f commit 7a48528

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,9 @@ term.foreground
264264
| [nvim-web-devicons](https://github.com/nvim-tree/nvim-web-devicons) | `nvim-web-devicons` |
265265
| [nvim-window-picker](https://github.com/s1n7ax/nvim-window-picker) | `nvim-window-picker` |
266266
| [rainbow-delimiters.nvim](https://github.com/HiPhish/rainbow-delimiters.nvim) | `rainbow-delimiters` |
267+
| [snacks.nvim](https://github.com/folke/snacks.nvim) | `snacks` |
267268
| [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) | `telescope` |
268-
| [todo-comments.nvim](https://github.com/folke/todo-comments.nvim) | `todo-comments` |
269+
| [todo-comments.nvim](https://github.com/folke/todo-comments.nvim) | `todo-comments` |
269270
| [vimwiki](https://github.com/vimwiki/vimwiki) | `vimwiki` |
270271
| [vim-illuminate](https://github.com/RRethy/vim-illuminate) | `vim-illuminate` |
271272
| [which-key.nvim](https://github.com/folke/which-key.nvim) | `which-key` |

lua/astrotheme/groups/plugins/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ return {
3030
["nvim-window-picker"] = "nvim-window-picker",
3131
["rainbow-delimiters.nvim"] = "rainbow-delimiters",
3232
["render-markdown.nvim"] = "render-markdown",
33+
["snacks.nvim"] = "snacks",
3334
["spotlight.nvim"] = "spotlight",
3435
["symbols-outline.nvim"] = "symbols-outline",
3536
["telescope.nvim"] = "telescope",
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---@type AstroThemeCallback
2+
local function callback(c)
3+
return {
4+
SnacksDashboardHeader = { fg = c.syntax.cyan },
5+
SnacksDashboardFooter = { fg = c.syntax.cyan },
6+
SnacksDashboardSpecial = { fg = c.syntax.cyan },
7+
SnacksDashboardKey = { fg = c.syntax.yellow },
8+
}
9+
end
10+
11+
return callback

0 commit comments

Comments
 (0)