feat(snacks): use snacks.dashboard as the default dashboard. moved dashboard-nvim to extras (#4832)

## Description

<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

Snacks has a new dashboard plugin that will be LazyVim's default.

Check the docs at
https://github.com/folke/snacks.nvim/blob/main/docs/dashboard.md

## Related Issue(s)

<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
This commit is contained in:
Folke Lemaitre
2024-11-18 23:32:49 +01:00
committed by GitHub
parent 0352f944c3
commit a07db1a723
6 changed files with 104 additions and 68 deletions

View File

@ -30,11 +30,9 @@ return {
opts = function()
---@type snacks.Config
return {
bigfile = { enabled = true },
notifier = { enabled = true },
quickfile = { enabled = true },
bigfile = { enabled = true },
words = { enabled = true },
toggle = { map = LazyVim.safe_keymap_set },
statuscolumn = { enabled = false }, -- we set this in options.lua
terminal = {
win = {
@ -46,6 +44,8 @@ return {
},
},
},
toggle = { map = LazyVim.safe_keymap_set },
words = { enabled = true },
}
end,
keys = {