Update dashboard shortcuts, add cmd to start LSP

This commit is contained in:
Evie Litherland-Smith 2023-02-21 07:51:56 +00:00
parent c0d336c585
commit 5409df6d47
2 changed files with 16 additions and 2 deletions

View file

@ -5,7 +5,7 @@ return {
enable = true, enable = true,
}, },
shortcut = { shortcut = {
{ desc = " Update", group = "@property", action = "Lazy update", key = "u" }, { icon = "", desc = "Lazy", group = "@property", action = "Lazy", key = "l" },
{ {
icon = "", icon = "",
icon_hl = "@variable", icon_hl = "@variable",
@ -16,11 +16,18 @@ return {
}, },
{ {
icon = "", icon = "",
desc = "File tree", desc = "Neotree",
group = "Label", group = "Label",
action = "Neotree", action = "Neotree",
key = "n", key = "n",
}, },
{
icon = "",
desc = "Mason",
group = "@property",
action = "Mason",
key = "m",
},
}, },
}, },
} }

View file

@ -2,6 +2,13 @@ return {
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
event = { "BufReadPre", "BufNewFile" }, event = { "BufReadPre", "BufNewFile" },
cmd = {
"LspLog",
"LspInfo",
"LspStop",
"LspStart",
"LspRestart",
},
dependencies = { dependencies = {
{ "hrsh7th/nvim-cmp" }, { "hrsh7th/nvim-cmp" },
{ "rafamadriz/friendly-snippets" }, { "rafamadriz/friendly-snippets" },