Fix nvim startup warnings
This commit is contained in:
parent
7f2634e330
commit
2efad10610
@ -87,33 +87,31 @@ return {
|
|||||||
{
|
{
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
opts_extend = { "spec" },
|
||||||
opts = {
|
opts = {
|
||||||
plugins = { spelling = true },
|
defaults = {},
|
||||||
defaults = {
|
spec = {
|
||||||
mode = { "n", "v" },
|
{
|
||||||
{ "<leader><tab>", group = "tabs" },
|
mode = { "n", "v" },
|
||||||
{ "<leader>b", group = "buffer" },
|
{ "<leader><tab>", group = "tabs" },
|
||||||
{ "<leader>c", group = "code" },
|
{ "<leader>b", group = "buffer" },
|
||||||
{ "<leader>f", group = "file/find" },
|
{ "<leader>c", group = "code" },
|
||||||
{ "<leader>g", group = "git" },
|
{ "<leader>f", group = "file/find" },
|
||||||
{ "<leader>gh", group = "hunks" },
|
{ "<leader>g", group = "git" },
|
||||||
{ "<leader>q", group = "quit/session" },
|
{ "<leader>gh", group = "hunks" },
|
||||||
{ "<leader>s", group = "search" },
|
{ "<leader>q", group = "quit/session" },
|
||||||
{ "<leader>sn", group = "noice" },
|
{ "<leader>s", group = "search" },
|
||||||
{ "<leader>u", group = "ui" },
|
{ "<leader>sn", group = "noice" },
|
||||||
{ "<leader>w", group = "windows" },
|
{ "<leader>u", group = "ui" },
|
||||||
{ "<leader>x", group = "diagnostics/quickfix" },
|
{ "<leader>w", group = "windows" },
|
||||||
{ "[", group = "prev" },
|
{ "<leader>x", group = "diagnostics/quickfix" },
|
||||||
{ "]", group = "next" },
|
{ "[", group = "prev" },
|
||||||
{ "g", group = "goto" },
|
{ "]", group = "next" },
|
||||||
{ "gs", group = "surround" },
|
{ "g", group = "goto" },
|
||||||
|
{ "gs", group = "surround" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
config = function(_, opts)
|
|
||||||
local wk = require("which-key")
|
|
||||||
wk.setup(opts)
|
|
||||||
wk.register(opts.defaults)
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
-- git signs highlights text that has changed since the list
|
-- git signs highlights text that has changed since the list
|
||||||
|
@ -178,7 +178,7 @@ return {
|
|||||||
}
|
}
|
||||||
lsp.svelte.setup { on_attach = on_attach }
|
lsp.svelte.setup { on_attach = on_attach }
|
||||||
lsp.perlls.setup { on_attach = on_attach }
|
lsp.perlls.setup { on_attach = on_attach }
|
||||||
lsp.tsserver.setup { on_attach = on_attach }
|
lsp.ts_ls.setup { on_attach = on_attach }
|
||||||
lsp.lua_ls.setup {
|
lsp.lua_ls.setup {
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
|
Loading…
Reference in New Issue
Block a user