feat: fix lazy loading issues
This commit is contained in:
parent
33520be599
commit
82e5ecee41
@ -178,13 +178,23 @@ return {
|
||||
desc = 'All Keymaps',
|
||||
},
|
||||
},
|
||||
lazy = false,
|
||||
config = function(_, opts)
|
||||
local wk = require('which-key')
|
||||
local wk = require("which-key")
|
||||
wk.setup(opts)
|
||||
wk.add({
|
||||
{ '<leader>x', group = 'Trouble' }
|
||||
{ "<leader>x", group = "Trouble" },
|
||||
})
|
||||
end
|
||||
wk.add({
|
||||
{ "<leader>f", group = "Format" },
|
||||
})
|
||||
wk.add({ "<leader>T", group = "Telescope" })
|
||||
wk.add({ "<leader>Tg", group = "git" })
|
||||
wk.add({ "<leader>Tf", group = "files" })
|
||||
wk.add({
|
||||
{ "<space>w", group = "LSP workspace" },
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
'nvim-lualine/lualine.nvim',
|
||||
|
||||
@ -33,13 +33,17 @@ return {
|
||||
},
|
||||
{
|
||||
'rgroli/other.nvim',
|
||||
config = {
|
||||
opts = {
|
||||
mappings = {
|
||||
'angular'
|
||||
}
|
||||
},
|
||||
config = function(_, opts)
|
||||
require('other-nvim').setup(opts)
|
||||
end,
|
||||
keys = {
|
||||
{ '<leader>s', '<cmd>Other<CR>', desc = 'Open other file' }
|
||||
}
|
||||
},
|
||||
cmd = { 'Other', 'OtherTabNew', 'OtherSplit', 'OtherVSplit' }
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,13 +9,9 @@ return {
|
||||
{ '<space>s', '<cmd>Telescope lsp_workspace_symbols<CR>', desc = 'workspace symbols' },
|
||||
{ '<space>S', '<cmd>Telescope lsp_document_symbols<CR>', desc = 'document symbols' },
|
||||
},
|
||||
config = function (_, opts)
|
||||
require 'telescope'.setup(opts)
|
||||
local wk = require 'which-key'
|
||||
wk.add({ '<leader>T', group = 'Telescope' })
|
||||
wk.add({ '<leader>Tg', group = 'git' })
|
||||
wk.add({ '<leader>Tf', group = 'files' })
|
||||
end
|
||||
config = function(_, opts)
|
||||
require("telescope").setup(opts)
|
||||
end,
|
||||
},
|
||||
{
|
||||
'stevearc/dressing.nvim',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user