add an option to rebuild the spell dictionary on the dashboard page

This commit is contained in:
JesseBot 2023-11-20 16:48:04 +01:00
parent dba6112b95
commit 10bc6c4ad9

View file

@ -88,6 +88,15 @@ db.setup({
key_hl = keymap_color,
action = "Lazy sync",
},
{
icon = "󰒻 ",
icon_hl = icon_color,
desc = "Rebuild Dictionary ",
desc_hl = description_color,
key = "s",
key_hl = keymap_color,
action = "mkspell! $XDG_CONFIG_HOME/nvim/spell/en.utf-8.add",
},
{
icon = "",
icon_hl = icon_color,