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,
},
shortcut = {
{ desc = " Update", group = "@property", action = "Lazy update", key = "u" },
{ icon = "", desc = "Lazy", group = "@property", action = "Lazy", key = "l" },
{
icon = "",
icon_hl = "@variable",
@ -16,11 +16,18 @@ return {
},
{
icon = "",
desc = "File tree",
desc = "Neotree",
group = "Label",
action = "Neotree",
key = "n",
},
{
icon = "",
desc = "Mason",
group = "@property",
action = "Mason",
key = "m",
},
},
},
}

View file

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